set_matrix method
set_matrix
Sets the transform type to SVG_TRANSFORM_MATRIX, with parameter matrix defining the new transformation. The values from the parameter matrix are copied, the matrix parameter does not replace SVGTransform::matrix.
def set_matrix(self, matrix):
...
| Parameter | Type | Description |
|---|---|---|
| matrix | SVGMatrix | The new matrix for the transformation. |
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.svg.datatypes - class
DOMException - class
SVGTransform