public class Animate extends AnimateBase implements AnimateColorIface
| Modifier and Type | Field and Description |
|---|---|
static int |
DT_COLOR |
static int |
DT_PATH |
static int |
DT_REAL |
static String |
TAG_NAME |
AC_REPLACE, AC_SUM, AD_REPLACE, AD_SUM, AT_AUTO, AT_CSS, AT_XML, attribName, attribType, 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.
|
Color |
evalColor(double interp) |
GeneralPath |
evalPath(double interp) |
double |
getByValue() |
int |
getDataType() |
Color |
getFromColor() |
GeneralPath |
getFromPath() |
double |
getFromValue() |
String |
getTagName() |
Color |
getToColor() |
GeneralPath |
getToPath() |
double |
getToValue() |
double[] |
getValuesValue() |
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
|
void |
setByValue(double byValue) |
void |
setFromColor(Color fromColor) |
void |
setFromPath(GeneralPath fromPath) |
void |
setFromValue(double fromValue) |
void |
setToColor(Color toColor) |
void |
setToPath(GeneralPath toPath) |
void |
setToValue(double toValue) |
void |
setValuesValue(double[] valuesValue) |
evalParametric, getRepeatCount, getRepeatDur, setRepeatCount, setRepeatDuranimationElementToString, evalParametric, getAccumulateType, getAdditiveType, getAttribName, getAttribType, getBeginTime, getDurTime, getEndTime, getFillType, rebuild, setAccumulateType, setAdditiveType, setBeginTime, setDurTime, setEndTime, setFillType, 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 String TAG_NAME
public static final int DT_REAL
public static final int DT_COLOR
public static final int DT_PATH
public String getTagName()
getTagName in class SVGElementpublic int getDataType()
public void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws 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 tagSAXExceptionpublic double eval(double interp)
public Color evalColor(double interp)
evalColor in interface AnimateColorIfacepublic GeneralPath evalPath(double interp)
public double repeatSkipSize(int reps)
protected void rebuild(AnimTimeParser animTimeParser) throws SVGException
rebuild in class AnimateBaseSVGExceptionpublic double getFromValue()
public void setFromValue(double fromValue)
fromValue - the fromValue to setpublic double getToValue()
public void setToValue(double toValue)
toValue - the toValue to setpublic double getByValue()
public void setByValue(double byValue)
byValue - the byValue to setpublic double[] getValuesValue()
public void setValuesValue(double[] valuesValue)
valuesValue - the valuesValue to setpublic Color getFromColor()
public void setFromColor(Color fromColor)
fromColor - the fromColor to setpublic Color getToColor()
public void setToColor(Color toColor)
toColor - the toColor to setpublic GeneralPath getFromPath()
public void setFromPath(GeneralPath fromPath)
fromPath - the fromPath to setpublic GeneralPath getToPath()
public void setToPath(GeneralPath toPath)
toPath - the toPath to setCopyright © 2020. All rights reserved.