Offset

RectangleF.Offset method (1 of 2)

Adjusts the location of this rectangle by the specified amount.

public void Offset(PointF pos)
ParameterTypeDescription
posPointFThe 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)
ParameterTypeDescription
xSingleThe amount to offset the location horizontally.
ySingleThe amount to offset the location vertically.

See Also