[]
Applies the specified translation vector (offsetX and offsetY) to this Matrix object by prepending the translation vector.
public void Translate(float offsetX, float offsetY)
Public Sub Translate(offsetX As Single, offsetY As Single)
| Type | Name | Description |
|---|---|---|
| float | offsetX | The x value by which to translate this Matrix. |
| float | offsetY | The y value by which to translate this Matrix. |
Applies the specified translation vector (offsetX and offsetY) to this Matrix object by prepending the translation vector.
public void Translate(float offsetX, float offsetY, TransformOrder order)
Public Sub Translate(offsetX As Single, offsetY As Single, order As TransformOrder)
| Type | Name | Description |
|---|---|---|
| float | offsetX | The x value by which to translate this Matrix. |
| float | offsetY | The y value by which to translate this Matrix. |
| TransformOrder | order | A TransformOrder enumeration that specifies the order (append or prepend) in which the translation is applied to this Matrix object. |