[]
Applies the specified translation vector (offsetX and offsetY) to this Matrix object by prepending the translation vector.
public void Translate(float offsetX, float offsetY)
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)
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. |