Matrix.Translate
Contents
[
Hide
]Translate(float, float)
Applies the specified translation vector (offsetX and offsetY) to this Matrix by prepending the translation vector.
public void Translate(float offsetX, float offsetY)
Parameter | Type | Description |
---|---|---|
offsetX | Single | The x value by which to translate this Matrix. |
offsetY | Single | The y value by which to translate this Matrix. |
See Also
- class Matrix
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common
Translate(float, float, MatrixOrder)
Applies the specified translation vector to this Matrix in the specified order.
public void Translate(float offsetX, float offsetY, MatrixOrder order)
Parameter | Type | Description |
---|---|---|
offsetX | Single | The x value by which to translate this Matrix. |
offsetY | Single | The y value by which to translate this Matrix. |
order | MatrixOrder | A MatrixOrder that specifies the order (append or prepend) in which the translation is applied to this Matrix. |
See Also
- enum MatrixOrder
- class Matrix
- namespace Aspose.Drawing.Drawing2D
- assembly Aspose.Drawing.Common