Rect Properties

The Rect type exposes the following members.

Properties
  Name Description
Public property Bottom
The bottom border of the Rect.
Public property BottomLeft
The Point at the bottom left of the Rect.
Public property BottomRight
The Point at the bottom right of the Rect.
Public property Height
The vertical dimensions of the Rect.
Public property IsEmpty
Whether the rectangle has a positive area
Public property Left
The left border of the Rect.
Public property Position
The top-left position of the Rect.
Public property Right
The right border of the Rect.
Public property Size
The dimensions of the Rect.
Public property Top
The top border of the Rect.
Public property TopLeft
The Point at the top left of the Rect.
Public property TopRight
The Point at the top right of the Rect.
Public property Width
The horizontal dimensions of the Rect.
Public property X
The left border of the Rect.
Public property Y
The top border of the Rect.
Top
See Also