RotatedRectangle
Represents a rectangle with an optional rotation. The rotation is in degrees, and defaults to 0. The rotation is assumed to be around the center of the rectangle.
Extends
Properties
center?
optionalcenter:PointXY
Center of the box. In some cases the code has this information to hand and populates it, but if it is absent you can figure it out from the other values.
Inherited from
height
height:
number
element height
Inherited from
width
width:
number
Element width
Inherited from
x
x:
number
X location
Inherited from
y
y:
number
Y location