Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / RectD Structure
Fields Properties Methods

In This Topic
    RectD Structure Members
    In This Topic

    The following tables list the members exposed by RectD.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public FieldThe y-coordinate of the bottom edge.  
    Public Fieldstatic (Shared in Visual Basic)An empty rectangle.  
    Public Fieldstatic (Shared in Visual Basic)A rectangle that has its upper-left corner set to (negative infinity, negative infinity) and its lower-right corner set to (infinity, infinity).  
    Public FieldThe x-coordinate of the left edge.  
    Public FieldThe x-coordinate of the right edge.  
    Public FieldThe size of the RectD type, in bytes.  
    Public FieldThe y-coordinate of the top edge.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the point with coordinates of the rectangle center.  
    Public PropertyDetermines if there is some space within the rectangle.  
    Public PropertyGets or sets the height of the rectangle.  
    Public PropertyDetermines if all components of RectD are equal to zero.  
    Public PropertyGets the point with coordinates of the left top corner of the rectangle.  
    Public PropertyGets the size of the rectangle.  
    Public PropertyGets or sets the width of the rectangle.  
    Public PropertyGets or sets the X coordinate of the rectangle.  
    Public PropertyGets or sets the Y coordinate of the rectangle.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns a RectL with circumscribed coordinates.  
    Public MethodOverloaded. Determines if the specified point is contained within this rectangle.  
    Public MethodOverloaded. Indicates whether this instance and a specified object are equal.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a rectangle from DIPs to pixels.  
    Public Methodstatic (Shared in Visual Basic)Creates a RectD struct from (left, top, right, bottom) coordinates.  
    Public MethodReturns a hash code for this instance.  
    Public MethodOverloaded. Inflates the rectangle by the specified amount.  
    Public Methodstatic (Shared in Visual Basic)Returns a rectangle that represents the intersection of two rectangles.  
    Public MethodQuickly updates a rectangle to represent the intersection with another rectangle.  
    Public MethodDetermines if this rectangle intersects with rect.  
    Public MethodConverts the rectangle from (X, Y, Width, Height) to (Left, Top, Right, Bottom) coordinates.  
    Public MethodConverts the rectangle from (Left, Top, Right, Bottom) to (X, Y, Width, Height) coordinates.  
    Public MethodOverloaded. Offsets the rectangle by the specified amount.  
    Public MethodRecalculates the point coordinates from relative units (0..1, 0..1) to absolute (Left..Right, Top..Bottom).  
    Public MethodReturns a RectL with rounded coordinates.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Scales all coordinates of a rectangle by the specified scaleFactor.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a rectangle from pixels to DIPs.  
    Public MethodConverts RectD to System.Drawing.RectangleF.  
    Public MethodConverts RectD to RectF.  
    Public MethodReturns a string that represents the current object.  
    Public MethodReturns a RectL with truncated coordinates.  
    Public Methodstatic (Shared in Visual Basic)Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.  
    Top
    Public Operators
    Determines if the specified values are equal.
    Determines if the specified values are not equal.
    Top
    See Also