|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface support use-cases commonly associated with animation. "accelerate" and "decelerate" are float values in the timing draft and percentage values even in this draft if both of them represent a percentage.
| Method Summary | |
float |
getAccelerate()
The percentage value of the simple acceleration of time for the element. |
boolean |
getAutoReverse()
The autoReverse attribute controls the "play forwards then backwards" functionality. |
float |
getDecelerate()
The percentage value of the simple decelerate of time for the element. |
float |
getSpeed()
Defines the playback speed of element time. |
void |
setAccelerate(float accelerate)
|
void |
setAutoReverse(boolean autoReverse)
|
void |
setDecelerate(float decelerate)
|
void |
setSpeed(float speed)
|
| Method Detail |
public float getSpeed()
1.0 (no modification of speed).
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setSpeed(float speed)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic float getAccelerate()
0 to 100 .
Default value is 0 (no acceleration).
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setAccelerate(float accelerate)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic float getDecelerate()
0 to 100 .
Default value is 0 (no deceleration).
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setDecelerate(float decelerate)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic boolean getAutoReverse()
false .
org.w3c.dom.DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly.
public void setAutoReverse(boolean autoReverse)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||