|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tinyline.svg.SVGNode
com.tinyline.svg.SVGAnimationElem
The SVGAnimationElem class implements animation elements which are defined in SMIL Animation and 3GPP SMIL Language Profile specifications.
The 3GPP SMIL timing modules includes BasicInlineTiming, MinMaxTiming, BasicTimeContainers, RepeatTiming and EventTiming.
For 'begin' and 'end' attributes either single offset-value or single event-value shall be allowed. Offsets shall not be supported with event-values.
Event timing attributes that reference invalid IDs (for example elements that have been removed by the content control) shall be treated as being indefinite.
Supported event names and semantics shall be as defined by the SMIL 2.0 Language Profile. All user agents shall be able to raise the following event types:
| Field Summary | |
int |
accumulate
Controls whether or not the animation is cumulative. |
int |
additive
Controls whether or not the animation is additive. |
int |
attributeName
Specifies the name of the target attribute. |
SMILTime |
begin
Defines when the element should begin (i.e. |
static int |
BEGIN_EVENT
This event is raised when the element local timeline begins to play. |
int |
calcMode
Specifies the interpolation mode for the animation. |
SMILTime |
dur
Specifies the simple duration. |
SMILTime |
end
Defines an end value for the animation that can constrain the active duration. |
static int |
END_EVENT
This event is raised at the active end of the element. |
int |
fillType
Specifies the animation effect. |
TinyVector |
keyPoints
TinyNumber values between 0 and 1 indicate how far along the motion path the object shall move. |
TinyVector |
keySplines
A set of Bézier control points (TinyPaths) associated with the keyTimes list |
TinyVector |
keyTimes
A semicolon-separated list of time values used to control the pacing of the animation. |
SMILTime |
max
Specifies the maximum value of the active duration dur = (Clock-value | 'media' | 'indefinite') |
SMILTime |
min
Specifies the minimum value of the active duration dur = (Clock-value | 'media' | 'indefinite') |
int |
origin
The origin attribute is defined in the SMIL Animation specification [SMILANIM-ATTR-ORIGIN]. |
TinyPath |
path
Specifies the curve that describes the attribute value as a function of time. |
static int |
REPEAT_EVENT
This event is raised when the element local timeline repeats. |
int |
repeatCount
Specifies the number of iterations of the animation function. |
SMILTime |
repeatDur
Specifies the total duration for repeat. |
int |
restart
Defines when the element should restart. |
int |
rotate
The rotate attribute adds a supplemental transformation. |
TinyString |
sby
Specifies a relative offset value for the animation. |
TinyString |
sfrom
Specifies the starting value of the animation. |
TinyString |
sto
Specifies the ending value of the animation. |
TinyVector |
svalues
A semicolon-separated list of one or more TinyString values. |
int |
transformType
Indicates the type of transformation which is to have its values change over time. |
TinyString |
xlink_href
The URI reference to the element which is the target of this animation and which therefore will be modified over time. |
| Fields inherited from class com.tinyline.svg.SVGNode |
animatedVals, bounds, children, color, display, fill, fillOpacity, fillRule, fontFamily, fontSize, fontStyle, fontWeight, helem, id, opacity, outlined, ownerDocument, parent, stopColor, stopOpacity, stroke, strokeDashArray, strokeDashOffset, strokeLineCap, strokeLineJoin, strokeMiterLimit, strokeOpacity, strokeWidth, textAnchor, transform, visibility, xmlSpace |
| Constructor Summary | |
SVGAnimationElem()
Constructs a new SVGAnimationElem object. |
|
SVGAnimationElem(SVGAnimationElem src)
Creates a copy of the given SVGAnimationElem object. |
|
| Method Summary | |
boolean |
beginElementAt(int offset)
Causes this SVGAnimationElem to begin the local timeline. |
SVGNode |
copyNode()
Constructs a copy of the given node. |
int |
createOutline()
Creates an outline of this node. |
boolean |
endElementAt(int offset)
Causes this SVGAnimationElem to end the local timeline. |
java.lang.Object |
getAttribute(int hattr)
Returns the value object for the given attribute, or null object otherwise. |
TinyRect |
getBounds()
Returns the user bounding box for this SVGNode. |
void |
paint(SVGRaster renderer)
Draws this node. |
int |
setAttribute(int hattr,
java.lang.Object value)
Assigns or modifies the value of the specified attribute. |
| Methods inherited from class com.tinyline.svg.SVGNode |
addChild, contains, getCapStyle, getCurrentColor, getDashArray, getDashOffset, getDevBounds, getDisplay, getFillColor, getFillOpacity, getFillRule, getFontFamily, getFontSize, getGlobalTransform, getJoinStyle, getLineThickness, getMiterLimit, getNodeById, getOpacity, getStopColor, getStopOpacity, getStrokeColor, getStrokeOpacity, getTextAnchor, getVisibility, intersects, isDisplay, isVisible, matchUserAgent, nodeHitAt, removeChild, resolveColor, seekAElem |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public TinyString xlink_href
public int attributeName
public int additive
public int accumulate
public int calcMode
public TinyVector svalues
public TinyVector keyTimes
public TinyVector keySplines
public TinyString sfrom
public TinyString sto
public TinyString sby
public SMILTime begin
public SMILTime dur
public SMILTime end
public SMILTime min
public SMILTime max
public int restart
public int repeatCount
public SMILTime repeatDur
public int fillType
public int transformType
public TinyPath path
public TinyVector keyPoints
public int rotate
public int origin
public static final int BEGIN_EVENT
public static final int END_EVENT
public static final int REPEAT_EVENT
| Constructor Detail |
public SVGAnimationElem()
public SVGAnimationElem(SVGAnimationElem src)
src - The source SVGAnimationElem object.| Method Detail |
public SVGNode copyNode()
copyNode in class SVGNode
public int setAttribute(int hattr,
java.lang.Object value)
throws java.lang.Exception
setAttribute in class SVGNodehattr - The attribute handle.value - The value of the attribute.
java.lang.Exception - if the value type doesn not match to the attribute handle.public java.lang.Object getAttribute(int hattr)
null object otherwise.
getAttribute in class SVGNodehattr - The attribute handle.
public void paint(SVGRaster renderer)
paint in class SVGNoderenderer - The SVGRaster object
that does the drawing.public TinyRect getBounds()
getBounds in class SVGNodepublic int createOutline()
createOutline in class SVGNodepublic boolean beginElementAt(int offset)
offset - The offset in seconds at which to begin.
public boolean endElementAt(int offset)
offset - The offset in seconds at which to end.
|
TinyLine v2.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||