Translates the rectangle horizontally and vertically.
Syntax

[C#]

void Offset(int dx, int dy);
void Offset(Point pt);

[Visual Basic]

Sub Offset(dx As Integer, dy As Integer)
Sub Offset(pt As Point)
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.