SVGPatternElementBuilder class
SVGPatternElementBuilder class
Builder class for constructing an SVG ‘pattern’ element, which is used to define a pattern to be used for filling graphics elements within SVG. This class provides methods to set various attributes specific to the ‘pattern’ element and to build its content.
The SVGPatternElementBuilder type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SVGPatternElementBuilder |
Methods
Method | Description |
---|---|
build | |
build | |
pattern_units | Sets the ‘patternUnits’ attribute of the SVG ‘pattern’ element, specifying the coordinate system for the pattern’s x, y, width, and height. |
pattern_content_units | Sets the ‘patternContentUnits’ attribute of the SVG ‘pattern’ element, specifying the coordinate system for the contents of the pattern. |
href | Sets the ‘href’ attribute of the SVG ‘pattern’ element, specifying a reference to another pattern which this pattern inherits attributes from. |
build_element | Builds and returns an SVGElement instance based on the current configuration of the builder. |
attribute | Sets or updates an attribute on an SVG element. |
See Also
- module
aspose.svg.builder
- class
ISVGElementBuilder