Spread WPF 18
GrapeCity.Drawing Namespace / Rectangle Structure
Fields Properties Methods

In This Topic
    Rectangle Structure Members
    In This Topic

    The following tables list the members exposed by Rectangle.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Represents a Rectangle structure with its properties left uninitialized.  
    Public Fieldstatic (Shared in Visual Basic)Represents an invalid Rectangle structure.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the y-coordinate that is the sum of Top and Height property values of this Rectangle structure.  
    Public PropertyGets or sets the height of this Rectangle structure.  
    Public PropertyDetermines whether this Rectangle is empty.  
    Public PropertyDetermines whether this Rectangle is invalid.  
    Public PropertyGets the x-coordinate of the left edge of this Rectangle structure.  
    Public PropertyGets or sets the coordinates of the upper-left corner of this Rectangle structure.  
    Public PropertyGets the x-coordinate that is the sum of Left and Width property values of this Rectangle structure.  
    Public PropertyGets a Size value that represents the width and height of this Rectangle structure.  
    Public PropertyGets the y-coordinate of the top edge of this Rectangle structure.  
    Public PropertyGets or sets the width of this Rectangle structure.  
    Public PropertyGets or sets the x-coordinate of the left edge of this Rectangle structure.  
    Public PropertyGets or sets the y-coordinate of the top edge of this Rectangle structure.  
    Top
    Public Methods
     NameDescription
    Public MethodDetermines if the specified point is contained within this Rectangle structure.  
    Public MethodGets the aligned rectangle.  
    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 MethodOverloaded. Adjusts the location of this rectangle by the specified amount.  
    Public MethodRounds all boundaries to the nearest integral value.  
    Public MethodScales this Rectangle value by the specified scaleX and scaleY values.  
    Public MethodConverts to Rect value.  
    Public MethodTranslates this rectangle by the specified amount of distance.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a Rectangle structure that contains the union of two Rectangle structures.  
    Top
    See Also