Rectangle class

Rectangle class

Represents a rectangular area.

The Rectangle type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the Rectangle class.
init Initializes a new instance of the Rectangle class.

Properties

Property Description
left Gets the x-coordinate of the left edge of the rectangular area.
top Gets the y-coordinate of the top edge of the rectangular area.
right Gets the x-coordinate of the right egde of the rectangular area.
bottom Gets the y-coordinate of the bottom edge of the rectangular area.
position Gets the coordinates of the upper-left corner of the rectangular area.
size Gets the size.

See Also