SvgAnimationElement Class
https://svgwg.org/specs/animations/#InterfaceSVGAnimationElement
public abstract class SvgAnimationElement : SvgElement- Inheritance
SvgElementSvgAnimationElement
Properties
| Name | Description |
|---|---|
| OnBegin | Gets or sets the event handler of the begin event (the onbegin event handler attribute). |
| OnEnd | Gets or sets the event handler of the end event (the onend event handler attribute). |
| OnRepeat | Gets or sets the event handler of the repeat event (the onrepeat event handler attribute). |
| RequiredExtensions | Gets the requiredExtensions attribute as a SVGStringList object. |
| SystemLanguage | Gets the systemLanguage attribute as a SVGStringList object. |
| TargetElement | https://svgwg.org/specs/animations/#__svg__SVGAnimationElement__targetElement: the element referenced by the href attribute, or the parent element. |
OnBegin
SvgElements.g.csGets or sets the event handler of the begin event (the onbegin event handler attribute).
Property value
See also
OnEnd
SvgElements.g.csGets or sets the event handler of the end event (the onend event handler attribute).
Property value
See also
OnRepeat
SvgElements.g.csGets or sets the event handler of the repeat event (the onrepeat event handler attribute).
Property value
See also
RequiredExtensions
SvgElements.g.csGets the requiredExtensions attribute as a SVGStringList object.
public SvgStringList RequiredExtensions { get; }SystemLanguage
SvgElements.g.csGets the systemLanguage attribute as a SVGStringList object.
public SvgStringList SystemLanguage { get; }TargetElement
SvgAnimationElement.Values.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__targetElement: the element referenced by the href attribute, or the parent element.
public SvgElement? TargetElement { get; }Property value
See also
Methods
| Name | Description |
|---|---|
| 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. |
BeginElement()
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__beginElement: begins the element at the current time.
public void BeginElement()BeginElementAt(float)
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__beginElementAt: begins the element at an offset, in seconds, from the current time.
EndElement()
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__endElement: ends the element at the current time.
public void EndElement()EndElementAt(float)
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__endElementAt: ends the element at an offset, in seconds, from the current time.
GetCurrentTime()
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getCurrentTime: the current time, in seconds, of the timeline of the document fragment.
public float GetCurrentTime()GetSimpleDuration()
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getSimpleDuration: the simple duration, in seconds.
public float GetSimpleDuration()GetStartTime()
SvgAnimationElement.Timing.cshttps://svgwg.org/specs/animations/#__svg__SVGAnimationElement__getStartTime: the begin time, in seconds, of the current interval.
public float GetStartTime()