public class AnimateMotion extends AnimateXform
Modifier and Type | Field and Description |
---|---|
static int |
RT_ANGLE |
static int |
RT_AUTO |
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 |
---|
AnimateMotion()
Creates a new instance of Animate
|
Modifier and Type | Method and Description |
---|---|
AffineTransform |
eval(AffineTransform xform,
double interp)
Evaluates this animation element for the passed interpolation time.
|
GeneralPath |
getPath() |
double |
getRotate() |
int |
getRotateType() |
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) |
void |
setPath(GeneralPath path) |
protected static void |
setPoint(Point2D.Float pt,
String x,
String y) |
void |
setRotate(double rotate) |
void |
setRotateType(int rotateType) |
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 static final int RT_ANGLE
public static final int RT_AUTO
public AnimateMotion()
public String getTagName()
getTagName
in class SVGElement
public void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws SAXException
SVGElement
loaderStartElement
in class AnimateXform
helper
- - An object passed to all SVG elements involved in this
build process to aid in sharing information.attrs
- - Attributes of this tagSAXException
protected static void setPoint(Point2D.Float pt, String x, String y)
public AffineTransform eval(AffineTransform xform, double interp)
eval
in class AnimateXform
protected void rebuild(AnimTimeParser animTimeParser) throws SVGException
rebuild
in class AnimateBase
SVGException
public GeneralPath getPath()
public void setPath(GeneralPath path)
path
- the path to setpublic int getRotateType()
public void setRotateType(int rotateType)
rotateType
- the rotateType to setpublic double getRotate()
public void setRotate(double rotate)
rotate
- the rotate to setCopyright © 2011-2020 Kitfox Studios. All Rights Reserved.