SVGPatternElementBuilder.PatternContentUnits

SVGPatternElementBuilder.PatternContentUnits method

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

public SVGPatternElementBuilder PatternContentUnits(CoordinateUnits units)
ParameterTypeDescription
unitsCoordinateUnitsThe coordinate units for the pattern’s content (userSpaceOnUse or objectBoundingBox).

Return Value

The current instance of SVGPatternElementBuilder for method chaining.

See Also