RectangleXY
Defines a rectangle in 2d space - its x/y location, width and height, and optionally the computed center, but that can of course be calculated from the other values. Internally there are times when the code has this to hand so we include it here.
Extends
Extended by
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.
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