TranslateTransform

MetafileRecorderGraphics2D.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 x, float y)
ParameterTypeDescription
xSingleThe x-coordinate of the translation.
ySingleThe y-coordinate of the translation.

See Also


MetafileRecorderGraphics2D.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 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