Package org.apache.batik.dom.svg
Interface SVGAnimationContext
-
- All Superinterfaces:
org.w3c.dom.smil.ElementTimeControl,SVGContext
- All Known Implementing Classes:
SVGAnimateColorElementBridge,SVGAnimateElementBridge,SVGAnimateMotionElementBridge,SVGAnimateTransformElementBridge,SVGAnimationElementBridge,SVGSetElementBridge
public interface SVGAnimationContext extends SVGContext, org.w3c.dom.smil.ElementTimeControl
Context class for SVG animation elements to support extra methods.- Version:
- $Id: SVGAnimationContext.java 1808001 2017-09-11 09:51:29Z ssteiner $
-
-
Field Summary
-
Fields inherited from interface org.apache.batik.dom.svg.SVGContext
PERCENTAGE_FONT_SIZE, PERCENTAGE_VIEWPORT_HEIGHT, PERCENTAGE_VIEWPORT_SIZE, PERCENTAGE_VIEWPORT_WIDTH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetCurrentTime()DOM: ImplementsSVGAnimationElement.getCurrentTime().floatgetHyperlinkBeginTime()Returns the time that the document would seek to if this animation element were hyperlinked to, orNaNif there is no such begin time.floatgetSimpleDuration()DOM: ImplementsSVGAnimationElement.getSimpleDuration().floatgetStartTime()DOM: ImplementsSVGAnimationElement.getStartTime().org.w3c.dom.svg.SVGElementgetTargetElement()DOM: ImplementsSVGAnimationElement.getTargetElement().-
Methods inherited from interface org.w3c.dom.smil.ElementTimeControl
beginElement, beginElementAt, endElement, endElementAt
-
Methods inherited from interface org.apache.batik.dom.svg.SVGContext
getBBox, getCTM, getFontSize, getGlobalTransform, getPixelToMM, getPixelUnitToMillimeter, getScreenTransform, getViewportHeight, getViewportWidth, setScreenTransform
-
-
-
-
Method Detail
-
getTargetElement
org.w3c.dom.svg.SVGElement getTargetElement()
DOM: ImplementsSVGAnimationElement.getTargetElement().
-
getStartTime
float getStartTime()
DOM: ImplementsSVGAnimationElement.getStartTime().
-
getCurrentTime
float getCurrentTime()
DOM: ImplementsSVGAnimationElement.getCurrentTime().
-
getSimpleDuration
float getSimpleDuration()
DOM: ImplementsSVGAnimationElement.getSimpleDuration(). With the difference that an indefinite simple duration is returned as org.apache.batik.anim.timing.TimedElement#INDEFINITE, rather than throwing an exception.
-
getHyperlinkBeginTime
float getHyperlinkBeginTime()
Returns the time that the document would seek to if this animation element were hyperlinked to, orNaNif there is no such begin time.
-
-