X origin.
Y origin.
Extent along positive X axis.
Extent along positive Y axis.
Extent along positive Y axis.
Extent along positive X axis.
X origin.
Y origin.
Rect center x.
Rect center y.
Rect x
plus width
.
Rect y
plus height
.
Ceil this rect (floors x
and y
, ceils width
and height
).
Self
Check if this shape contains point
.
Point to check
true
if this shape contains the point
Extend this rect to encompass other
.
Other rect to extend with
Self
Floor this rect (ceils x
and y
, floors width
and height
).
Self
Check if this shape and rect
intersect.
true
if shape and rect intersect
Round position and extents of this rect.
Self
Set center of this rect.
Center x
Optional
y: numberCenter y
Self
Set this rect's dimensions to a bounding box of points
.
Points to encompass
Self
Returns a string representation of an object.
Static
fromStatic
fromStatic
fromStatic
oneA new instance initialized with extents of one.
Static
zeroA new instance initialized to all zeroes.
Rectangle shape.
Remarks
x
andy
are the rectangle's origin,width
andheight
extend along the positive x/y axes.