scale method
scale
Applies the specified scale vector (scaleX and scaleY) to this Matrix using (default) Prepend order.
def scale(self, sx, sy):
...
| Parameter | Type | Description |
|---|---|---|
| sx | float | The sx. The sx. The sx. |
| sy | float | The sy. The sy. The sy. |
scale
Applies the specified scale vector (scaleX and scaleY) to this Matrix using the specified order.
def scale(self, scale_x, scale_y, order):
...
| Parameter | Type | Description |
|---|---|---|
| scale_x | float | The scale X. |
| scale_y | float | The scale Y. |
| order | MatrixOrder | The order. |
See Also
- module
aspose.cad - class
Matrix