SVGDefsElementBuilder class

SVGDefsElementBuilder class

Builder class for constructing an SVG ‘defs’ element, which is used to define reusable elements. It enables the building of content within the ‘defs’ element and provides methods to set various attributes specific to the ‘defs’ element in SVG.

The SVGDefsElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGDefsElementBuilder

Methods

MethodDescription
build
build
build_elementBuilds and returns an SVGElement instance based on the current configuration of the builder.
attributeSets or updates an attribute on an SVG element.

See Also