SVGPatternElementBuilder.PatternUnits

SVGPatternElementBuilder.PatternUnits method

Sets the ‘patternUnits’ attribute of the SVG ‘pattern’ element, specifying the coordinate system for the pattern’s x, y, width, and height.

public SVGPatternElementBuilder PatternUnits(CoordinateUnits units)
ParameterTypeDescription
unitsCoordinateUnitsThe coordinate units to be used (userSpaceOnUse or objectBoundingBox).

Return Value

The current instance of SVGPatternElementBuilder for method chaining.

See Also