pattern_content_units method

pattern_content_units

Sets the ‘patternContentUnits’ attribute of the SVG ‘pattern’ element, specifying the coordinate system for the contents of the pattern.

Returns

The current instance of SVGPatternElementBuilder for method chaining.

def pattern_content_units(self, units):
    ...
ParameterTypeDescription
unitsCoordinateUnitsThe coordinate units for the pattern’s content (userSpaceOnUse or objectBoundingBox).

See Also