Left
Introduction
The Left, Right, Top, and Bottom properties on AxisAlignedRectangle return the absolute position of the respective side.
Code Example
The following code shows how to get the four values (Left, Right, Top, and Bottom):
Setting values
Setting Left, Right, Top, and Bottom results in the X or Y values of the AxisAlignedRectangle changing. These values will not change the Width or Height of the AxisAlignedRectangle. To change dimensions use the FlatRedBall.Math.Geometry.AxisAlignedRectangle.Width and FlatRedBall.Math.Geometry.AxisAlignedRectangle.Height values.
Last updated