[]
Inflates the current RectangleD by the specified amounts on four sides.
public void Inflate(double left, double top, double right, double bottom)
Public Sub Inflate(left As Double, top As Double, right As Double, bottom As Double)
| Type | Name | Description |
|---|---|---|
| double | left | The amount to add on the left. |
| double | top | The amount to add at the top. |
| double | right | The amount to add on the right. |
| double | bottom | The amount to add on the bottom. |
Inflates the current RectangleD by a specified SizeD.
public void Inflate(SizeD size)
Public Sub Inflate(size As SizeD)
| Type | Name | Description |
|---|---|---|
| SizeD | size | The SizeD to inflate the current rectangle by. |
Inflates the current RectangleD by specified horizontal and vertical amounts.
public void Inflate(double x, double y)
Public Sub Inflate(x As Double, y As Double)
| Type | Name | Description |
|---|---|---|
| double | x | The amount to add on the left and right of the current RectangleD. |
| double | y | The amount to add at the top and bottom of the current RectangleD. |
Creates a new RectangleD structure from another RectangleD, inflated by the specified amounts vertically and horizontally.
public static RectangleD Inflate(RectangleD rc, double x, double y)
Public Shared Function Inflate(rc As RectangleD, x As Double, y As Double) As RectangleD
| Type | Name | Description |
|---|---|---|
| RectangleD | rc | The RectangleD a copy of which is created and inflated. |
| double | x | The amount by which to inflate the resulting rectangle horizontally. |
| double | y | The amount by which to inflate the resulting rectangle vertically. |
| Type | Description |
|---|---|
| RectangleD | The newly created RectangleD structure. |