Translates the rectangle horizontally and vertically.
Syntax

[C#]

void Offset(double dx, double dy);
void Offset(PointF pt);

[Visual Basic]

Sub Offset(dx As Double, dy As Double)
Sub Offset(pt As PointF)
Params
Name Description
dx The amount of horizontal translation.
dy The amount of vertical translation.
pt The amount of horizontal and vertical translation.
Notes

None.

Example

None.