Region::Translate Method (Single, Single)

 

Offsets the coordinates of this Region by the specified amount.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
void Translate(
	float dx,
	float dy
)

Parameters

dx
Type: System::Single

The amount to offset this Region horizontally.

dy
Type: System::Single

The amount to offset this Region vertically.

For a code example, see theTranslate(Single, Single) method.

.NET Framework
Available since 1.1
Return to top
Show: