[]
public Rectangle Deflate(Rectangle r)
Public Function Deflate(r As Rectangle) As Rectangle
| Type | Name | Description |
|---|---|---|
| Rectangle | r | A Rectangle to deflate. |
| Type | Description |
|---|---|
| Rectangle | The resulting Rectangle. |
public Size Deflate(Size size)
Public Function Deflate(size As Size) As Size
| Type | Name | Description |
|---|---|---|
| Size | size | A Size to deflate. |
| Type | Description |
|---|---|
| Size | The resulting Size. |
Deflates the specified width and height by the values of the current Style margins, padding and border.
public Size Deflate(int width, int height)
Public Function Deflate(width As Integer, height As Integer) As Size
| Type | Name | Description |
|---|---|---|
| int | width | A width to deflate. |
| int | height | A height to deflate. |
| Type | Description |
|---|---|
| Size | The resulting Size. |