System::Drawing::Region::Translate method

Region::Translate(int, int) method

Moves the coordinates of the region by the specified amount.

void System::Drawing::Region::Translate(int dx, int dy)
ParameterTypeDescription
dxintSpecifies the amount to move the region by horizontally
dyintSpecifies the amount to move the region by vertically

See Also

Region::Translate(float, float) method

Moves the coordinates of the region by the specified amount.

void System::Drawing::Region::Translate(float dx, float dy)
ParameterTypeDescription
dxfloatSpecifies the amount to move the region by horizontally
dyfloatSpecifies the amount to move the region by vertically

See Also