Translate()

Region::Translate(int, int) method

Moves the coordinates of the region by the specified amount.

void System::Drawing::Region::Translate(int dx, int dy)

Arguments

ParameterTypeDescription
dxintSpecifies the amount to move the region by horizontally
dyintSpecifies the amount to move the region by vertically

Region::Translate(float, float) method

Moves the coordinates of the region by the specified amount.

void System::Drawing::Region::Translate(float dx, float dy)

Arguments

ParameterTypeDescription
dxfloatSpecifies the amount to move the region by horizontally
dyfloatSpecifies the amount to move the region by vertically

See Also