set_scale method
set_scale
Sets the transform type to SVG_TRANSFORM_SCALE, with parameters sx and sy defining the scale amounts.
def set_scale(self, sx, sy):
...
| Parameter | Type | Description |
|---|---|---|
| sx | float | The scale amount in X. |
| sy | float | The scale amount in Y. |
Exceptions
| Exception | Description |
|---|---|
DOMException | Code DOMException.NO_MODIFICATION_ALLOWED_ERR.Raised on an attempt to change the value of a read only attribute. |
See Also
- module
aspose.html.dom.svg.datatypes - class
DOMException - class
SVGTransform