SVGAnimateMotionElementBuilder class

SVGAnimateMotionElementBuilder class

Builder class for constructing an SVG ‘animateMotion’ element, which is used for creating motion animations within SVG graphics. It enables the building of content within the ‘animateMotion’ element and provides methods to set various attributes specific to the ‘animateMotion’ element in SVG.

The SVGAnimateMotionElementBuilder type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SVGAnimateMotionElementBuilder

Methods

MethodDescription
rotateSets the ‘rotate’ attribute, defining the rotation of the animated element.
rotateSets the ‘rotate’ attribute using a predefined rotation value.
build
build
key_pointsSets the ‘keyPoints’ attribute, defining the points at which the animation occurs.
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