2027 Class
Changes 0
C

Rectangle

Description:
Stores a set of four integers that represent the left, top, right and bottom of a rectangle.
Remarks:
It usually represents a rectangle on the screen. Left must be less than right and top must be less than bottom.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Rectangle
public class Rectangle : IDisposable
Name Return Type Description Inherited From
C Rectangle() None Create an empty Rectangle instance with values (0,0,0,0).
C Rectangle(Rectangle) None Constructs a new copy of the input ScreenRectangle object.
C Rectangle(Int32, Int32, Int32, Int32) None Creates an Rectangle instance with the specified four integers that represent the left, top, right and bottom of a rectangle.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the Rectangle
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsNormalized() Boolean 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.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Bottom int The y-coordinate of the bottom-right corner of the rectangle.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Left int The x-coordinate of the top-left corner of the rectangle.
P Right int The x-coordinate of the bottom-right corner of the rectangle.
P Top int The y-coordinate of the top-left corner of the rectangle.