[]
Translates this rectangle by the specified amount of distance.
public Rectangle Translate(double x, double y)
Public Function Translate(x As Double, y As Double) As Rectangle
| Type | Name | Description |
|---|---|---|
| double | x | The horizontal offset. |
| double | y | The vertical offset |
| Type | Description |
|---|---|
| Rectangle | A new Rectangle that is translated by the specified amount. |