Private m_Private m_Private m_Private m_Returns the y-coordinate of the rect's bottom edge.
Sets the bottom edge of the rect to the given pos.
Returns the height of the rect.
Sets the height of the rect to the given h. The bottom edge is changed, but not the top one.
Returns the x-coordinate of the rect's left edge. Equivalent to x.
Sets the left edge of the rect to the given pos.
Returns the x-coordinate of the rect's right edge.
Sets the right edge of the rect to the given pos.
Returns the y-coordinate of the rect's top edge. Equivalent to y.
Sets the top edge of the rect to the given pos.
Returns the width of the rect.
Sets the width of the rect to the given w. The right edge is changed, but not the left one.
Equivalent to left.
Equivalent to top.
Returns true if this rect and other are equal; otherwise returns false.
Returns true if the given p is inside or on the edge of the rect, otherwise returns false.
The default value is false. If proper is true, this function only returns true if the given p is inside the rect (i.e., not on the edge).
Copies the other rect to this rect.
Static fromGenerated using TypeDoc
The Rect is normally expressed as a top-left corner and a size.