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 Color |
fromColor |
protected GeneralPath |
fromPath |
protected double |
fromValue |
static String |
TAG_NAME |
protected Color |
toColor |
protected GeneralPath |
toPath |
protected double |
toValue |
protected double[] |
valuesValue |
repeatCount, repeatDur
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
children, 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.
|
Color |
evalColor(double interp) |
GeneralPath |
evalPath(double interp) |
int |
getDataType() |
String |
getTagName() |
void |
loaderStartElement(SVGLoaderHelper helper,
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
|
evalParametric
animationElementToString, evalParametric, getAccumulateType, getAdditiveType, getAttribName, getAttribType, rebuild, updateTime
addAttribute, build, buildPath, getChild, getChild, getChildren, getId, getInlineAttributes, getNumChildren, getParent, getParentContext, getPath, getPres, getPresAbsolute, getPresentationAttributes, getRoot, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, indexOfChild, lerp, loaderAddChild, loaderAddText, loaderEndElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildren
public static final 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 GeneralPath fromPath
protected GeneralPath toPath
public Animate()
public String getTagName()
getTagName
in class SVGElement
public int getDataType()
public void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws SAXException
SVGElement
loaderStartElement
in class AnimateBase
helper
- - An object passed to all SVG elements involved in this
build process to aid in sharing information.attrs
- - Attributes of this tagSAXException
public double eval(double interp)
public Color evalColor(double interp)
evalColor
in interface AnimateColorIface
public GeneralPath evalPath(double interp)
public double repeatSkipSize(int reps)
protected void rebuild(AnimTimeParser animTimeParser) throws SVGException
rebuild
in class AnimateBase
SVGException
Copyright ?? 2011-2014 Kitfox Studios. All Rights Reserved.