# RectRight

int RectRight (Rect rect);

## Purpose

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

## Parameters

Input
Name | Type | Description
rect | Rect | The location and size of a rectangle.

## Return Value

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.