Rectangle class

Rectangle class

Rectangle structure.

The Rectangle type exposes the following members:

Constructors

Constructor Description
init Initializes a new Rectangle.

Methods

Method Description
equals Determines whether the specified rectangle is equal to the current rectangle.
equals_object
get_hash_code Serves as the default hash function.

Properties

Property Description
height The height of the rectangle.
width The width of the rectangle.
x The X coordinate of the rectangle.
y The Y coordinate of the rectangle.

Guides

Task guides that use Rectangle:

See Also