[]
Enlarges a Rect structure by the specified amount.
public static void Inflate(ref Rect r, double dx, double dy)
Public Shared Sub Inflate(ByRef r As Rect, dx As Double, dy As Double)
| Type | Name | Description |
|---|---|---|
| Rect | r | Rect structure. |
| double | dx | The amount to inflate this Rect horizontally. |
| double | dy | The amount to inflate this Rect vertically. |
Enlarges a Rect structure by the specified amount.
public static void Inflate(ref Rect r, double left, double top, double right, double bottom)
Public Shared Sub Inflate(ByRef r As Rect, left As Double, top As Double, right As Double, bottom As Double)
| Type | Name | Description |
|---|---|---|
| Rect | r | Rect structure. |
| double | left | The amount to inflate this Rect from left. |
| double | top | The amount to inflate this Rect from top. |
| double | right | The amount to inflate this Rect from right. |
| double | bottom | The amount to inflate this Rect from bottom. |