Rectangle.Inflate
Contents
[
Hide
]Inflate(Rectangle, int, int)
Creates a Rectangle that is inflated by the specified amount.
public static Rectangle Inflate(Rectangle rect, int x, int y)
| Parameter | Type | Description | 
|---|---|---|
| rect | Rectangle | A rectangle to inflate. | 
| x | Int32 | The amount to inflate rectangle specified by rect horizontally. | 
| y | Int32 | The amount to inflate rectangle specified by rect vertically. | 
Return Value
Returns a Rectangle that is inflated by the specified amount.
See Also
- struct Rectangle
 - namespace Aspose.Drawing
 - assembly Aspose.Drawing.Common
 
Inflate(int, int)
Enlarges this Rectangle by the specified amount.
public void Inflate(int width, int height)
| Parameter | Type | Description | 
|---|---|---|
| width | Int32 | The amount to inflate this Rectangle horizontally. | 
| height | Int32 | The amount to inflate this Rectangle vertically. | 
See Also
- struct Rectangle
 - namespace Aspose.Drawing
 - assembly Aspose.Drawing.Common
 
Inflate(Size)
Enlarges this Rectangle by the specified amount.
public void Inflate(Size size)
| Parameter | Type | Description | 
|---|---|---|
| size | Size | The size to inflate this Rectangle. | 
See Also
- struct Size
 - struct Rectangle
 - namespace Aspose.Drawing
 - assembly Aspose.Drawing.Common