Matrix.Translate

Translate(float, float, MatrixOrder)

Applies the specified translation vector to this Matrix in the specified order.

public void Translate(float offsetX, float offsetY, MatrixOrder order)
ParameterTypeDescription
offsetXSingleThe offset X.
offsetYSingleThe offset Y.
orderMatrixOrderThe order.

See Also


Translate(float, float)

Applies the specified translation vector to this Matrix using (default) Prepend order.

public void Translate(float tx, float ty)
ParameterTypeDescription
txSingleThe tx. The tx. The tx.
tySingleThe ty. The ty. The ty.

See Also