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.

public class SVGAnimateMotionElementBuilder : SVGElementBuilder<SVGAnimateMotionElement>, 
    IAnimationAdditionAttributeSetter, IAnimationEventAttributeSetter, 
    IAnimationTargetElementAttributeSetter, IAnimationTimingAttributeSetter, 
    IAnimationValueAttributeSetter, IConditionalProcessingAttributeSetter, ICoreAttributeSetter, 
    IDescriptiveElementBuilder, IDocumentElementEventAttributeSetter, IGlobalEventAttributeSetter, 
    IPresentationAttributeSetter, IXLinkAttributeSetter

Constructors

NameDescription
SVGAnimateMotionElementBuilder()The default constructor.

Properties

NameDescription
Configurations { get; }

Methods

NameDescription
Attribute(string, string)
virtual Build(Document)
virtual Build(SVGAnimateMotionElement)
BuildElement(Document)
KeyPoints(params double[])Sets the ‘keyPoints’ attribute, defining the points at which the animation occurs.
Path(Action<PathBuilder>)Defines the path for the motion animation.
Rotate(double)Sets the ‘rotate’ attribute, defining the rotation of the animated element.
Rotate(Rotate)Sets the ‘rotate’ attribute using a predefined rotation value.

See Also