ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRectangle Structure
Properties Methods Events


In This Topic
    ImGearRectangle Structure Members
    In This Topic

    The following tables list the members exposed by ImGearRectangle.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the y-coordinate of the lower-right corner of the rectangle.  
    Public Property Gets the height of the rectangle.  
    Public Property Gets or sets the x-coordinate of the upper-left corner of the rectangle.  
    Public Property Gets or sets the x-coordinate of the lower-right corner of the rectangle.  
    Public Property Gets or sets the y-coordinate of the upper-left corner of the rectangle.  
    Public Property Gets the width of the rectangle.  
    Top
    Public Methods
     NameDescription
    Public Method Checks if the specified point's coordinates are inside of the rectangle.  
    Public MethodCopies the specified ImGearRectangle object into this instance of the ImGearRectangle class.  
    Public Method Sets all numeric properties of the rectangle to their initial values.  
    Public Method Replaces this rectangle with rectangle that is inflated at the top and bottom each by dy, and at the left and right each by dx.  
    Public Method Replaces this rectangle with the intersection of itself and another rectangle.  
    Public Method Tests whether all numeric properties of the rectangle are set to their initial values.  
    Public Method Tests whether the rectangle is valid.  
    Public Method Changes the rectangle's points to contain the specified point.  
    Public MethodShifts the rectangle points by the specified shiftX and shiftY values.  
    Public Method Replaces this rectangle with rectangle that contains itself and another rectangle.  
    Top
    Public Events
     NameDescription
    Public Event Occurs when a property value changes.  
    Top
    See Also