
## set_transform {#aspose.html.dom.svg.datatypes.SVGMatrix}

Applies an SVGMatrix representing a linear transform to the pattern.



```python
def set_transform(self, transform):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| transform | aspose.html.dom.svg.datatypes.SVGMatrix | An SVGMatrix to use as the pattern's transformation matrix. |



### See Also
* module [`aspose.html.dom.canvas`](../../)
* class [`ICanvasPattern`](/html/python-net/aspose.html.dom.canvas/icanvaspattern)
