Rectangle.Offset

Offset(Point)

Adjusts the location of this rectangle by the specified amount.

public void Offset(Point pos)
ParameterTypeDescription
posPointAmount to offset the location.

See Also


Offset(int, int)

Adjusts the location of this rectangle by the specified amount.

public void Offset(int x, int y)
ParameterTypeDescription
xInt32The horizontal offset.
yInt32The vertical offset.

See Also