Offset

RectangleF.Offset method (1 of 2)

Adjusts the location of this rectangle by the specified amount.

public void Offset(PointF pos)
Parameter Type Description
pos PointF The amount to offset the location.

See Also


RectangleF.Offset method (2 of 2)

Adjusts the location of this rectangle by the specified amount.

public void Offset(float x, float y)
Parameter Type Description
x Single The amount to offset the location horizontally.
y Single The amount to offset the location vertically.

See Also