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_TRANSITIONchildren, cssClass, diagram, id, 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, 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, parsePathList, parseSingleTransform, parseTransform, popParentContext, pushParentContext, removeAttribute, removeChild, setAttribute, setDiagram, swapChildrenpublic static final String TAG_NAME
public static final int RT_ANGLE
public static final int RT_AUTO
public String getTagName()
getTagName in class SVGElementpublic void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws SAXException
SVGElementloaderStartElement in class AnimateXformhelper - - An object passed to all SVG elements involved in this
build process to aid in sharing information.attrs - - Attributes of this tagSAXExceptionprotected static void setPoint(Point2D.Float pt, String x, String y)
public AffineTransform eval(AffineTransform xform, double interp)
eval in class AnimateXformprotected void rebuild(AnimTimeParser animTimeParser) throws SVGException
rebuild in class AnimateBaseSVGExceptionpublic 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 © 2022. All rights reserved.