SVGSetElementBuilder class

SVGSetElementBuilder class

Builder class for constructing an SVG ‘set’ element. The ‘set’ element is used to define a simple animation where a single attribute value changes over a period of time. This class provides methods to set various attributes specific to the ‘set’ element, such as the target attribute and the value to set.

The SVGSetElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGSetElementBuilder

Methods

MethodDescription
build
build
toSets the ’to’ attribute of the SVG ‘set’ element, specifying the final value of the attribute that will be changed during the animation.
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