Rectangle class

Rectangle class

Represents a rectangle with integer pixel coordinates.

The Rectangle type exposes the following members:

Constructors

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

Properties

Property Description
height The height of the rectangle.
width The width of the rectangle.
x The x-coordinate of the upper-left corner.
y The y-coordinate of the upper-left corner.

See Also