SVGSymbolElementBuilder class

SVGSymbolElementBuilder class

Builder class for creating an SVGSymbolElement, which is used to define graphical template objects within SVG.

The SVGSymbolElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGSymbolElementBuilder

Methods

MethodDescription
build
build
ref_xSets the ‘refX’ attribute of the symbol element, defining the x-coordinate of the reference point of the symbol.
ref_ySets the ‘refY’ attribute of the symbol element, defining the y-coordinate of the reference point of the symbol.
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