Translate

Matrix.Translate method (1 of 2)

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

public void Translate(float offsetX, float offsetY, MatrixOrder order)
Parameter Type Description
offsetX Single The offset X.
offsetY Single The offset Y.
order MatrixOrder The order.

See Also


Matrix.Translate method (2 of 2)

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

public void Translate(float tx, float ty)
Parameter Type Description
tx Single The tx. The tx. The tx.
ty Single The ty. The ty. The ty.

See Also