MetafileRecorderGraphics2D.TranslateTransform

TranslateTransform(float, float)

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

public void TranslateTransform(float x, float y)
ParameterTypeDescription
xSingleThe x-coordinate of the translation.
ySingleThe y-coordinate of the translation.

See Also


TranslateTransform(float, float, MatrixOrder)

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 x, float y, MatrixOrder order)
ParameterTypeDescription
xSingleThe x-coordinate of the translation.
ySingleThe y-coordinate of the translation.
orderMatrixOrderSpecifies whether the translation is prepended or appended to the transformation matrix.

See Also