SVGMaskElementBuilder.MaskContentUnits

SVGMaskElementBuilder.MaskContentUnits method

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

public SVGMaskElementBuilder MaskContentUnits(CoordinateUnits units)
ParameterTypeDescription
unitsCoordinateUnitsThe coordinate units for the mask’s content, either ‘userSpaceOnUse’ or ‘objectBoundingBox’.

Return Value

The current instance of SVGMaskElementBuilder for method chaining.

See Also