Translate()

Matrix::Translate(float, float) method

Applies the specified translate vector to the matrix represented by the current object.

void System::Drawing::Drawing2D::Matrix::Translate(float offsetX, float offsetY)

Arguments

ParameterTypeDescription
offsetXfloatThe X value by which the matrix is translated
offsetYfloatThe Y value by which the matrix is translated

Matrix::Translate(float, float, MatrixOrder) method

Applies the specified translate vector to the matrix represented by the current object.

void System::Drawing::Drawing2D::Matrix::Translate(float offsetX, float offsetY, MatrixOrder order)

Arguments

ParameterTypeDescription
offsetXfloatThe X value by which the matrix is translated
offsetYfloatThe Y value by which the matrix is translated
orderMatrixOrderThe order in which the translation vector is applied to the matrix

See Also