ReadonlycxRect center x.
ReadonlycyRect center y.
ReadonlyheightReadonlyrightRect x plus width.
ReadonlytopRect y plus height.
ReadonlywidthReadonlyxReadonlyyCheck if this shape contains point.
Point to check
true if this shape contains the point
Optionalepsilon: numberCheck if this shape and rect intersect.
true if shape and rect intersect
Read-only rectangle shape.
Remarks
xandyare the rectangle's origin,widthandheightextend along the positive x/y axes.