scale method
scale
Scales the matrix by the specified scale factors uniformly.
def scale(self, scale_x, scale_y):
...
| Parameter | Type | Description |
|---|---|---|
| scale_x | float | The uniform scale factor. |
| scale_y | float | The uniform scale factor. |
scale
Scales the matrix by the specified scale factors in the specified order.
def scale(self, scale_x, scale_y, order):
...
| Parameter | Type | Description |
|---|---|---|
| scale_x | float | The scale factor along the x-axis. |
| scale_y | float | The scale factor along the y-axis. |
| order | WebMatrixOrder | The order in which scaling is applied. |
See Also
- module
aspose.svg.drawing - class
IMatrix