public class AnimateColor extends AnimateBase implements AnimateColorIface
Modifier and Type | Field and Description |
---|---|
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_TRANSITION
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, serialVersionUID, SVG_NS, trackManager, xmlBase
Constructor and Description |
---|
AnimateColor()
Creates a new instance of Animate
|
Modifier and Type | Method and Description |
---|---|
Color |
evalColor(double interp)
Evaluates this animation element for the passed interpolation time.
|
Color |
getFromValue() |
String |
getTagName() |
Color |
getToValue() |
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) |
void |
setFromValue(Color fromValue) |
void |
setToValue(Color toValue) |
evalParametric, getRepeatCount, getRepeatDur, setRepeatCount, setRepeatDur
animationElementToString, evalParametric, getAccumulateType, getAdditiveType, getAttribName, getAttribType, getBeginTime, getDurTime, getEndTime, getFillType, rebuild, setAccumulateType, setAdditiveType, setBeginTime, setDurTime, setEndTime, setFillType, updateTime
addAttribute, 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, swapChildren
public static final String TAG_NAME
public AnimateColor()
public String getTagName()
getTagName
in class SVGElement
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 Color evalColor(double interp)
evalColor
in interface AnimateColorIface
protected void rebuild(AnimTimeParser animTimeParser) throws SVGException
rebuild
in class AnimateBase
SVGException
public Color getFromValue()
public void setFromValue(Color fromValue)
fromValue
- the fromValue to setpublic Color getToValue()
public void setToValue(Color toValue)
toValue
- the toValue to setCopyright © 2011-2017 Kitfox Studios. All Rights Reserved.