SVGUseElementBuilder class

SVGUseElementBuilder class

Builder class for creating an SVGUseElement, which is used to reuse an existing SVG element by referencing it.

The SVGUseElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGUseElementBuilder

Methods

MethodDescription
build
build
hrefSets the href attribute of the use element, specifying the URL of the element to be reused.
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