XYCenterGravity constructor

XYCenterGravity()