Click or drag to resize

Rectangle Class

Represents an area on a coordinate plane.
Inheritance Hierarchy
SystemObject
  Mannequin.BindingsRectangle

Namespace:  Mannequin.Bindings
Assembly:  Collapse (in Collapse.exe) Version: 0.4.6.1290 (0.4.6.1290)
Syntax
C#
public class Rectangle

The Rectangle type exposes the following members.

Constructors
  NameDescription
Public methodRectangle
Create a new Rectangle.
Top
Properties
  NameDescription
Public propertyBottom
The lowestmost y-coordinate in this Rectangle
Public propertyCenter
The center Point of this Rectangle
Public propertyHeight
The height of this Rectangle
Public propertyIsEmpty
Whether this Rectangle has a Width and Height of 0, and a Location of (0, 0).
Public propertyLeft
The leftmost x-coordinate in this Rectangle
Public propertyLocation
The top-left Point of this Rectangle
Public propertyRight
The rightmost x-coordinate in this Rectangle
Public propertyTop
The highestmost y-coordinate in this Rectangle
Public propertyWidth
The width of this Rectangle
Top
Methods
  NameDescription
Public methodInflate
Adjust this Rectangle's size
Public methodIntersects
Whether this Rectangle intersects another Rectangle
Top
See Also