inflate method
Contents
[
Hide
]inflate
Inflates this Rectangle by the specified amount.
def inflate(self, size):
...
| Parameter | Type | Description |
|---|---|---|
| size | Size | The amount to inflate this rectangle. |
inflate
Inflates this Rectangle by the specified amount.
def inflate(self, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| width | int | The amount to inflate this Rectangle horizontally. |
| height | int | The amount to inflate this Rectangle vertically. |
inflate
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.
Returns
The inflated Rectangle.
def inflate(self, rect, x, y):
...
| Parameter | Type | Description |
|---|---|---|
| rect | Rectangle | The Rectangle with which to start. This rectangle is not modified. |
| x | int | The amount to inflate this Rectangle horizontally. |
| y | int | The amount to inflate this Rectangle vertically. |
See Also
- module
aspose.cad - class
Rectangle