Rect

The Rect object represents a rectangle.

  

Property Name

Return Type

Description

left

int

Returns the left edge of the rectangle.

top

int

Returns the top edge of the rectangle.

right

int

Returns the right edge of the rectangle (note that this value is actually 1 outside the right edge).

bottom 

int

Returns the bottom edge of the rectangle (note that this value is actually 1 outside the bottom edge).

width

int

Returns the width of the rectangle.

height

int

Returns the height of the rectangle.