[]
Creates a translation matrix.
public static Matrix CreateTranslation(PointF point)
Public Shared Function CreateTranslation(point As PointF) As Matrix
| Type | Name | Description |
|---|---|---|
| PointF | point | The translation position. |
| Type | Description |
|---|---|
| Matrix | The translation matrix. |
Creates a translation matrix.
public static Matrix CreateTranslation(double xPosition, double yPosition)
Public Shared Function CreateTranslation(xPosition As Double, yPosition As Double) As Matrix
| Type | Name | Description |
|---|---|---|
| double | xPosition | The X position. |
| double | yPosition | The Y position. |
| Type | Description |
|---|---|
| Matrix | The translation matrix. |