TranslateTransform

Graphics.TranslateTransform method (1 of 2)

Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics.

public void TranslateTransform(float dx, float dy)
Parameter Type Description
dx Single The x-coordinate of the translation.
dy Single The y-coordinate of the translation.

See Also


Graphics.TranslateTransform method (2 of 2)

Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this Graphics in the specified order.

public void TranslateTransform(float dx, float dy, MatrixOrder order)
Parameter Type Description
dx Single The x-coordinate of the translation.
dy Single The y-coordinate of the translation.
order MatrixOrder Member of the MatrixOrder enumeration that specifies whether the translation is prepended or appended to the transformation matrix.

See Also