Rectangle Members

The Rectangle type exposes the following members.

Constructors

  NameDescription
Public methodRectangle()()()()
Create an empty Rectangle instance with values (0,0,0,0).
Public methodRectangle(Rectangle)
Constructs a new copy of the input ScreenRectangle object.
Public methodRectangle(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

  NameDescription
Public methodDispose
Releases all resources used by the Rectangle
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsNormalized
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.
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyBottom
The y-coordinate of the bottom-right corner of the rectangle.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyLeft
The x-coordinate of the top-left corner of the rectangle.
Public propertyRight
The x-coordinate of the bottom-right corner of the rectangle.
Public propertyTop
The y-coordinate of the top-left corner of the rectangle.

See Also