translate method
translate
Translates the matrix by the specified offset values.
def translate(self, tx, ty):
...
Parameter | Type | Description |
---|---|---|
tx | float | The offset value along the x-axis. |
ty | float | The offset value along the y-axis. |
translate
Translates the matrix by the specified offset values in the specified order.
def translate(self, offset_x, offset_y, order):
...
Parameter | Type | Description |
---|---|---|
offset_x | float | The offset value along the x-axis. |
offset_y | float | The offset value along the y-axis. |
order | SvgMatrixOrder | The order in which translation is applied. |
See Also
- module
aspose.svg.drawing
- class
IMatrix