RectangleInflate Method (Int32, Int32) |
Inflates all dimensions of this rectangle by the specified width and height
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void Inflate(
int width,
int height
)
Public Sub Inflate (
width As Integer,
height As Integer
)
member Inflate :
width : int *
height : int -> unit
Parameters
- width
- Type: SystemInt32
Width to inflate the left and right of the rectangle by - height
- Type: SystemInt32
Height to inflate the top and bottom of the rectangle by
Remarks
This inflates the rectangle in all dimensions by the specified width and height.
The resulting rectangle will be increased in width and height twice that of the specified size, and the center
will be in the same location.
A negative width and/or height can be passed in to deflate the rectangle.
See Also