[]
Enlarges a Rect structure by the specified amount.
public static void Inflate(ref Rect r, double dx, double dy)
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)
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. |