Dart API Referencedart:htmlSVGAnimationElement

SVGAnimationElement Interface

The SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement , SVGSetElement , SVGAnimateColorElement , SVGAnimateMotionElement and SVGAnimateTransformElement .

Extends

SVGExternalResourcesRequired, ElementTimeControl, SVGTests, SVGElement

Subinterfaces

SVGAnimateColorElement, SVGAnimateElement, SVGAnimateMotionElement, SVGAnimateTransformElement, SVGSetElement

Methods

Code num getCurrentTime() #

Returns the current time in seconds relative to time zero for the given time container.
num getCurrentTime();

Code num getSimpleDuration() #

Returns the number of seconds for the simple duration for this animation. If the simple duration is undefined (e.g., the end time is indefinite), then a DOMException with code NOT_SUPPORTED_ERR is raised.
num getSimpleDuration();

Code num getStartTime() #

Returns the begin time, in seconds, for this animation element's current interval, if it exists, regardless of whether the interval has begun yet. If there is no current interval, then a DOMException with code INVALID_STATE_ERR is thrown.
num getStartTime();

Fields

Code final SVGElement targetElement #

The element which is being animated.
final SVGElement targetElement;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.