[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Drawing.MatrixEx.Translate

Translate Method

Translate(Matrix3x2, float, float, MatrixOrderEx)

Prepends the specified translation vector to the Matrix3x2.

Declaration
public static Matrix3x2 Translate(this Matrix3x2 matrix, float offsetX, float offsetY, MatrixOrderEx order = MatrixOrderEx.Prepend)
Parameters
Type Name Description
Matrix3x2 matrix

The matrix to prepend the translation to

float offsetX

the translation X value to use

float offsetY

the translation Y value to use

MatrixOrderEx order

A MatrixOrderEx indicating the order in which the rotation should be applied

Returns
Type Description
Matrix3x2