Version

Rectangle Class Members

The following tables list the members exposed by Rectangle.

Public Constructors
 NameDescription
Public ConstructorRectangle ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyHeightGets or sets the height of the rectangle.  
Public PropertyIsEmptyGets a boolean value indicating whether this rectangle is empty.  
Public PropertyIsSealedGets whether the instance has already been sealed through the Seal method. (Inherited from Infragistics.Documents.Reports.SealableBase)
Public PropertyLocationGets or sets a Point object that represents the upper-left corner of the rectangle.  
Public PropertySizeGets or sets a Size object that represents the width and the height of the rectangle.  
Public PropertyWidthGets or sets the width of the rectangle.  
Public PropertyXGets or sets X-coordinate of the upper-left corner of the rectangle.  
Public PropertyYGets or sets Y-coordinate of the upper-left corner of the rectangle.  
Public Methods
 NameDescription
Public MethodCloneCreates a copy of this rectangle.  
Public MethodEqualsOverloaded. Compares this rectangle to the specified one.  
Public MethodIntersectionOverloaded. Gets the intersection with the specified rectangle.  
Public MethodIntersectsOverloaded. Gets a boolean value indicating whether this rectangle intersects with the specified rectangle.  
Public MethodIsPointInsideGets a boolean value indicating whether the specified point is inside the rectangle.  
Public MethodPointInsideGets a boolean value indicating whether the specified point is inside the rectangle.  
Public MethodSealOverridden. Makes the instance immutable. Any attempts to modify properties or members will result in an exception.  
Public MethodUnionOverloaded. Gets the union with the specified rectangle.  
See Also

View on GitHub