Method CreateTranslation
CreateTranslation(float, float)
Creates a TransformMatrix with the specified translation vector.
public static TransformMatrix CreateTranslation(float offsetX, float offsetY)
Parameters
offsetXfloatThe x value by which to translate this TransformMatrix.
offsetYfloatThe y value by which to translate this TransformMatrix.