public class Animate extends AnimateBase implements AnimateColorIface
| Modifier and Type | Field and Description |
|---|---|
protected double |
byValue |
static int |
DT_COLOR |
static int |
DT_PATH |
static int |
DT_REAL |
protected java.awt.Color |
fromColor |
protected java.awt.geom.GeneralPath |
fromPath |
protected double |
fromValue |
static java.lang.String |
TAG_NAME |
protected java.awt.Color |
toColor |
protected java.awt.geom.GeneralPath |
toPath |
protected double |
toValue |
protected double[] |
valuesValue |
repeatCount, repeatDurAC_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_TRANSITIONchildren, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase| Constructor and Description |
|---|
Animate()
Creates a new instance of Animate
|
| Modifier and Type | Method and Description |
|---|---|
double |
eval(double interp)
Evaluates this animation element for the passed interpolation time.
|
java.awt.Color |
evalColor(double interp) |
java.awt.geom.GeneralPath |
evalPath(double interp) |
int |
getDataType() |
java.lang.String |
getTagName() |
void |
loaderStartElement(SVGLoaderHelper helper,
org.xml.sax.Attributes attrs,
SVGElement parent)
Called during SAX load process to notify that this tag has begun the
process of being loaded
|
protected void |
rebuild(AnimTimeParser animTimeParser) |
double |
repeatSkipSize(int reps)
If this element is being accumulated, detemine the delta to accumulate by
|
evalParametricanimationElementToString, evalParametric, getAccumulateType, getAdditiveType, getAttribName, getAttribType, rebuild, updateTimeaddAttribute, build, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddChild, loaderAddText, loaderEndElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic static final java.lang.String TAG_NAME
public static final int DT_REAL
public static final int DT_COLOR
public static final int DT_PATH
protected double fromValue
protected double toValue
protected double byValue
protected double[] valuesValue
protected java.awt.Color fromColor
protected java.awt.Color toColor
protected java.awt.geom.GeneralPath fromPath
protected java.awt.geom.GeneralPath toPath
public java.lang.String getTagName()
getTagName in class SVGElementpublic int getDataType()
public void loaderStartElement(SVGLoaderHelper helper, org.xml.sax.Attributes attrs, SVGElement parent) throws org.xml.sax.SAXException
SVGElementloaderStartElement in class AnimateBasehelper - - An object passed to all SVG elements involved in this
build process to aid in sharing information.attrs - - Attributes of this tagorg.xml.sax.SAXExceptionpublic double eval(double interp)
public java.awt.Color evalColor(double interp)
evalColor in interface AnimateColorIfacepublic java.awt.geom.GeneralPath evalPath(double interp)
public double repeatSkipSize(int reps)
protected void rebuild(AnimTimeParser animTimeParser) throws SVGException
rebuild in class AnimateBaseSVGException