Rectangle Members

The Rectangle type exposes the following members.

Constructors


  Name Description
Public method Rectangle(Int32, Int32, Int32, Int32)
Initializes a new instance of the [Rectangle] struct.
Public method Rectangle(Point, Point)
Initializes a new instance of the [Rectangle] struct.

Methods


  Name Description
Public method Clip
Clips the specified rect.
Public method Contains
Determines whether [contains] [the specified point].
Public method Intersects
Intersectses the specified rect.
Public method IsEmpty
Determines whether this instance is empty.

Properties


  Name Description
Public property Bottom
Gets or sets the bottom edge.
Public property Height
Gets the height.
Public property Left
Gets or sets the left edge.
Public property Right
Gets or sets the right edge.
Public property Top
Gets or sets the top edge.
Public property Width
Gets the width.