mask_content_units method

mask_content_units

Sets the ‘maskContentUnits’ attribute of the SVG ‘mask’ element, specifying the coordinate system for the contents of the mask.

Returns

The current instance of SVGMaskElementBuilder for method chaining.

def mask_content_units(self, units):
    ...
ParameterTypeDescription
unitsCoordinateUnitsThe coordinate units for the mask’s content, either ‘userSpaceOnUse’ or ‘objectBoundingBox’.

See Also