Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rect Structure
Fields Properties Methods


Rect Structure Members

The following tables list the members exposed by Rect.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the Rect struct with the specified coordinates.  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)Represents a Rect structure with its properties left uninitialized. This field is read-only.  
Top
Public Properties
 NameDescription
Public PropertyGets the y-coordinate that is the sum of Top and Height property values of this Rect structure.  
Public PropertyGets or sets the height of this Rect structure.  
Public PropertyGets the x-coordinate of the left edge of this Rect structure.  
Public PropertyGets the x-coordinate that is the sum of Left and Width property values of this Rect structure.  
Public PropertyGets the y-coordinate of the top edge of this Rect structure.  
Public PropertyGets or sets the width of this Rect structure.  
Public PropertyGets or sets the x-coordinate of the left edge of this Rect structure.  
Public PropertyGets or sets the y-coordinate of the top edge of this Rect structure.  
Top
Public Methods
 NameDescription
Public MethodDetermines if the specified point is contained within this Rect structure.  
Public MethodEnlarges a Rectangle structure by the specified amount.  
Public Methodstatic (Shared in Visual Basic)Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned.  
Public MethodDetermines if this rectangle intersects with rect.  
Public MethodAdjusts the location of this rectangle by the specified amount.  
Public Methodstatic (Shared in Visual Basic)Gets a Rect structure that contains the union of two Rect structures.  
Top
See Also