# RectSetBottom

void RectSetBottom (Rect *rect, int bottom);

## Purpose

Sets the height of a Rect structure so that the bottom edge of the rectangle it defines is at the specified location.

The bottom edge of the rectangle is not enclosed by the rectangle and is equal to the top plus the height.

## Parameters

Input
Name | Type | Description
bottom | integer | Y-coordinate of the new bottom edge.
Output
Name | Type | Description
rect | Rect | On input, the size and location of a rectangle. On output, the same rectangle with a different bottom edge.

## Return Value

None.