Summary
Creates a translation matrix from the given X and Y components.
Syntax
public static Matrix CreateTranslation(double xPosition, double yPosition)
Parameters
Name | Type | Description |
---|---|---|
xPosition | double | The X position. |
yPosition | double | The Y position. |
Return Value
Type | Description |
---|---|
Matrix | A translation matrix. |