pattern_units method

pattern_units

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.

def pattern_units(self, units):
    ...
ParameterTypeDescription
unitsCoordinateUnitsThe coordinate units to be used (userSpaceOnUse or objectBoundingBox).

See Also