Rectangle Structure

The coordinates of a rectangle.
public struct Rectangle

Constructors

Public methodRectangle
Creates an instance of Rectangle.

Properties

Public propertyHeight
Gets the height of the rectangle.
Public propertyWidth
Gets the width of the rectangle.
Public propertyX
Gets the X coordinate of the left edge of the rectangle.
Public propertyY
Gets the Y coordinate of the top edge of the rectangle.

See Also

Reference