Rectangle.Offset

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


Offset(Point)

Adjusts the location of this rectangle by the specified amount.

public void Offset(Point pos)
ParameterTypeDescription
posPointThe offset.

See Also