SvgAnimationElement Class

https://svgwg.org/specs/animations/#InterfaceSVGAnimationElement

public abstract class SvgAnimationElement : SvgElement
Inheritance
SvgElement SvgAnimationElement

Properties

NameDescription
OnBeginGets or sets the event handler of the begin event (the onbegin event handler attribute).
OnEndGets or sets the event handler of the end event (the onend event handler attribute).
OnRepeatGets or sets the event handler of the repeat event (the onrepeat event handler attribute).
RequiredExtensionsGets the requiredExtensions attribute as a SVGStringList object.
SystemLanguageGets the systemLanguage attribute as a SVGStringList object.
TargetElementhttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__targetElement: the element referenced by the href attribute, or the parent element.

Gets or sets the event handler of the begin event (the onbegin event handler attribute).

public Action<Event>? OnBegin { get; set; }

Gets or sets the event handler of the end event (the onend event handler attribute).

public Action<Event>? OnEnd { get; set; }

Gets or sets the event handler of the repeat event (the onrepeat event handler attribute).

public Action<Event>? OnRepeat { get; set; }

RequiredExtensions

SvgElements.g.cs

Gets the requiredExtensions attribute as a SVGStringList object.

public SvgStringList RequiredExtensions { get; }

SystemLanguage

SvgElements.g.cs

Gets the systemLanguage attribute as a SVGStringList object.

public SvgStringList SystemLanguage { get; }

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__targetElement: the element referenced by the href attribute, or the parent element.

public SvgElement? TargetElement { get; }

Methods

NameDescription
BeginElement()https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__beginElement: begins the element at the current time.
BeginElementAt(float)https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__beginElementAt: begins the element at an offset, in seconds, from the current time.
EndElement()https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__endElement: ends the element at the current time.
EndElementAt(float)https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__endElementAt: ends the element at an offset, in seconds, from the current time.
GetCurrentTime()https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getCurrentTime: the current time, in seconds, of the timeline of the document fragment.
GetSimpleDuration()https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getSimpleDuration: the simple duration, in seconds.
GetStartTime()https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getStartTime: the begin time, in seconds, of the current interval.

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__beginElement: begins the element at the current time.

public void BeginElement()

BeginElementAt(float)

SvgAnimationElement.Timing.cs

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__beginElementAt: begins the element at an offset, in seconds, from the current time.

public void BeginElementAt(float offset)

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__endElement: ends the element at the current time.

public void EndElement()

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__endElementAt: ends the element at an offset, in seconds, from the current time.

public void EndElementAt(float offset)

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getCurrentTime: the current time, in seconds, of the timeline of the document fragment.

public float GetCurrentTime()

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getSimpleDuration: the simple duration, in seconds.

public float GetSimpleDuration()

https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getStartTime: the begin time, in seconds, of the current interval.

public float GetStartTime()