ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRectangle Structure / Inflate Method
Amount to add to each the left and right sides of the rectangle.
Amount to add to each the top and bottom sides of the rectangle.




In This Topic
    Inflate Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Function Inflate( _
       ByVal dx As Integer, _
       ByVal dy As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearRectangle
    Dim dx As Integer
    Dim dy As Integer
    Dim value As Boolean
     
    value = instance.Inflate(dx, dy)
    public bool Inflate( 
       int dx,
       int dy
    )
    public: bool Inflate( 
       int dx,
       int dy
    ) 
    public:
    bool Inflate( 
       int dx,
       int dy
    ) 

    Parameters

    dx
    Amount to add to each the left and right sides of the rectangle.
    dy
    Amount to add to each the top and bottom sides of the rectangle.

    Return Value

    Boolean value.
    See Also