
## pattern_units {#aspose.svg.builder.CoordinateUnits}

Sets the 'patternUnits' attribute of the SVG 'pattern' element, specifying the coordinate system for the pattern's x, y, width, and height.


### Returns 


The current instance of SVGPatternElementBuilder for method chaining.


```python
def pattern_units(self, units):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| units | [`CoordinateUnits`](/svg/python-net/aspose.svg.builder/coordinateunits) | The coordinate units to be used (userSpaceOnUse or objectBoundingBox). |



### See Also
* module [`aspose.svg.builder`](../../)
* class [`SVGPatternElementBuilder`](/svg/python-net/aspose.svg.builder/svgpatternelementbuilder)
