Matrix::Translate Method (Single, Single)

 

Applies the specified translation vector (offsetX and offsetY) to this Matrix by prepending the translation vector.

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

public:
void Translate(
	float offsetX,
	float offsetY
)

Parameters

offsetX
Type: System::Single

The x value by which to translate this Matrix.

offsetY
Type: System::Single

The y value by which to translate this Matrix.

.NET Framework
Available since 1.1
Return to top
Show: