RectangleF.Offset

Offset(PointF)

Adjusts the location of this rectangle by the specified amount.

public void Offset(PointF pos)
ParameterTypeDescription
posPointFThe amount to offset the location.

See Also


Offset(float, float)

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