Region.Translate

Translate(float, float)

Offsets the coordinates of this Region by the specified amount.

public void Translate(float dx, float dy)
ParameterTypeDescription
dxSingleThe amount to offset this Region horizontally.
dySingleThe amount to offset this Region vertically.

See Also


Translate(int, int)

Offsets the coordinates of this Region by the specified amount.

public void Translate(int dx, int dy)
ParameterTypeDescription
dxInt32The amount to offset this Region horizontally.
dyInt32The amount to offset this Region vertically.

See Also