com.kitfox.svg.animation
Class AnimateMotion
java.lang.Object
com.kitfox.svg.SVGElement
com.kitfox.svg.animation.AnimationElement
com.kitfox.svg.animation.AnimateBase
com.kitfox.svg.animation.AnimateXform
com.kitfox.svg.animation.AnimateMotion
- All Implemented Interfaces:
- Serializable
public class AnimateMotion
- extends AnimateXform
- Author:
- Mark McKay, Mark McKay
- See Also:
- Serialized Form
| Fields inherited from class com.kitfox.svg.animation.AnimationElement |
AC_REPLACE, AC_SUM, AD_REPLACE, AD_SUM, AT_AUTO, AT_CSS, AT_XML, attribName, attribType, beginTime, durTime, endTime, fillType, FT_AUTO, FT_DEFAULT, FT_FREEZE, FT_HOLD, FT_REMOVE, FT_TRANSITION |
| Fields inherited from class com.kitfox.svg.SVGElement |
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase |
|
Constructor Summary |
AnimateMotion()
Creates a new instance of Animate |
| Methods inherited from class com.kitfox.svg.SVGElement |
addAttribute, build, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, loaderAddChild, loaderAddText, loaderEndElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RT_ANGLE
public static final int RT_ANGLE
- See Also:
- Constant Field Values
RT_AUTO
public static final int RT_AUTO
- See Also:
- Constant Field Values
AnimateMotion
public AnimateMotion()
- Creates a new instance of Animate
loaderStartElement
public void loaderStartElement(SVGLoaderHelper helper,
Attributes attrs,
SVGElement parent)
throws SAXException
- Description copied from class:
SVGElement
- Called during SAX load process to notify that this tag has begun the process
of being loaded
- Overrides:
loaderStartElement in class AnimateXform
- Parameters:
helper - - An object passed to all SVG elements involved in this build
process to aid in sharing information.attrs - - Attributes of this tag
- Throws:
SAXException
setPoint
protected static void setPoint(Point2D.Float pt,
String x,
String y)
eval
public AffineTransform eval(AffineTransform xform,
double interp)
- Evaluates this animation element for the passed interpolation time. Interp
must be on [0..1].
- Specified by:
eval in class AnimateXform
rebuild
protected void rebuild(AnimTimeParser animTimeParser)
throws SVGException
- Overrides:
rebuild in class AnimateBase
- Throws:
SVGException
Copyright © 2011-2012 Barchart, Inc.. All Rights Reserved.