Rectangle.Inflate
Contents
[
Hide
]Inflate(Rectangle, int, int)
Creates and returns an inflated copy of the specified Rectangle
structure. The copy is inflated by the specified amount. The original Rectangle
structure remains unmodified.
public static Rectangle Inflate(Rectangle rect, int x, int y)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The Rectangle with which to start. This rectangle is not modified. |
x | Int32 | The amount to inflate this Rectangle horizontally. |
y | Int32 | The amount to inflate this Rectangle vertically. |
Return Value
The inflated Rectangle
.
See Also
- struct Rectangle
- namespace Aspose.PSD
- assembly Aspose.PSD
Inflate(int, int)
Inflates 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.PSD
- assembly Aspose.PSD
Inflate(Size)
Inflates this Rectangle
by the specified amount.
public void Inflate(Size size)
Parameter | Type | Description |
---|---|---|
size | Size | The amount to inflate this rectangle. |
See Also
- struct Size
- struct Rectangle
- namespace Aspose.PSD
- assembly Aspose.PSD