int RectRight (Rect rect);
Returns the x-coordinate of the right edge a rectangle. The right edge is not enclosed by the rectangle.
The right edge is computed as follows:
right = rect.left + rect.width
Input | ||
Name | Type | Description |
rect | Rect | The location and size of a rectangle. |
Name | Type | Description |
rightEdge | integer | X-coordinate of the right edge of the rectangle. The right edge is not enclosed by the rectangle and is equal to rect.left + rect.width. |