Graphics.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 dx, float dy)
ParameterTypeDescription
dxSingleThe x-coordinate of the translation.
dySingleThe 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 dx, float dy, MatrixOrder order)
ParameterTypeDescription
dxSingleThe x-coordinate of the translation.
dySingleThe y-coordinate of the translation.
orderMatrixOrderMember of the MatrixOrder enumeration that specifies whether the translation is prepended or appended to the transformation matrix.

See Also