Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

SVGAnimationElement

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

SVG Animation DOM interface

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

Interface overview

Also implement SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl
Methods
  • float getStartTime()
  • float getCurrentTime()
  • float getSimpleDuration()
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
targetElement SVGElement The element which is being animated.

Methods

Name & Arguments Return Description
getStartTime() float 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.
getCurrentTime() float Returns the current time in seconds relative to time zero for the given time container.
getSimpleDuration() float 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.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) Not supported (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported (Yes) ? (Yes) (Yes)

 

문서 태그 및 공헌자

 이 페이지의 공헌자: fscholz, kscarfone, Sheppy, Jeremie
 최종 변경: fscholz,