Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2012 Google Inc.
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  * use this file except in compliance with the License. You may obtain a copy of
  * the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
package elemental.svg;
The SVGAnimationElement interface is the base interface for all of the animation element interfaces: SVGAnimateElement , SVGSetElement , SVGAnimateColorElement , SVGAnimateMotionElement and SVGAnimateTransformElement .
The element which is being animated.
Returns the current time in seconds relative to time zero for the given time container.
  float getCurrentTime();

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.
  float getSimpleDuration();

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.
  float getStartTime();
New to GrepCode? Check out our FAQ X