translate method
translate
Translates the matrix by the specified offset values.
def translate(self, offset_x, offset_y):
...
Parameter | Type | Description |
---|---|---|
offset_x | float | The offset value along the x-axis. |
offset_y | 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 | WebMatrixOrder | The order in which translation is applied. |
See Also
- module
aspose.html.drawing
- class
IMatrix