mask_units method

mask_units

Sets the ‘maskUnits’ attribute of the SVG ‘mask’ element, specifying the coordinate system for the mask’s attributes.

Returns

The current instance of SVGMaskElementBuilder for method chaining.

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

See Also