The Rectangle type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Rectangle()()()() |
Create an empty Rectangle instance with values (0,0,0,0).
|
![]() | Rectangle(Rectangle) |
Constructs a new copy of the input ScreenRectangle object.
|
![]() | Rectangle(Int32, Int32, Int32, Int32) |
Creates an Rectangle instance with the specified four integers
that represent the left, top, right and bottom of a rectangle.
|
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the Rectangle |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsNormalized |
Returns true if the rectangle coordinates are normalized to the screen coordinate space; that is, left is less than right and top is less than bottom.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Bottom |
The y-coordinate of the bottom-right corner of the rectangle.
|
![]() | IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
|
![]() | Left |
The x-coordinate of the top-left corner of the rectangle.
|
![]() | Right |
The x-coordinate of the bottom-right corner of the rectangle.
|
![]() | Top |
The y-coordinate of the top-left corner of the rectangle.
|