Offset

Rectangle.Offset method (1 of 2)

Adjusts the location of this rectangle by the specified amount.

public void Offset(Point pos)
Parameter Type Description
pos Point Amount to offset the location.

See Also


Rectangle.Offset method (2 of 2)

Adjusts the location of this rectangle by the specified amount.

public void Offset(int x, int y)
Parameter Type Description
x Int32 The horizontal offset.
y Int32 The vertical offset.

See Also