This documentation is for the old version. Go to the latest Graphics Mill docs

Matrix.Translate Method (Single, Single)

Applies a translate affine transform to the matrix.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub Translate ( _
	offsetX As Single, _
	offsetY As Single _
)
C#
public void Translate(
	float offsetX,
	float offsetY
)

Parameters

offsetX

Type: System.Single

The value to move the matrix horizontally.
offsetY

Type: System.Single

The value to move the matrix vertically.

Remarks

Internally the scaling is applied by multiplying this instance of the matrix by the affine matrix of translation. Left-sided multiplication is made. If you need to make right-sided multiplication, you can use an overloaded version of this method which enables to specify a matrix order.

See Also

Reference