public interface Animation
Modifier and Type | Method | Description |
---|---|---|
void |
disable() |
Disables animation domain notifications.
|
void |
enable() |
Enables animation domain notifications.
|
Double |
getCurrentTime(String id) |
Returns the current time of the an animation.
|
Double |
getPlaybackRate() |
Gets the playback rate of the document timeline.
|
void |
releaseAnimations(List<String> animations) |
Releases a set of animations to no longer be manipulated.
|
RemoteObject |
resolveAnimation(String animationId) |
Gets the remote object of the Animation.
|
void |
seekAnimations(List<String> animations,
Double currentTime) |
Seek a set of animations to a particular time within each animation.
|
void |
setPaused(List<String> animations,
Boolean paused) |
Sets the paused state of a set of animations.
|
void |
setPlaybackRate(Double playbackRate) |
Sets the playback rate of the document timeline.
|
void |
setTiming(String animationId,
Double duration,
Double delay) |
Sets the timing of an animation node.
|
void disable()
void enable()
Double getCurrentTime(String id)
id
- Id of animation.Double getPlaybackRate()
void releaseAnimations(List<String> animations)
animations
- List of animation ids to seek.RemoteObject resolveAnimation(String animationId)
animationId
- Animation id.void seekAnimations(List<String> animations, Double currentTime)
animations
- List of animation ids to seek.currentTime
- Set the current time of each animation.void setPaused(List<String> animations, Boolean paused)
animations
- Animations to set the pause state of.paused
- Paused state to set to.void setPlaybackRate(Double playbackRate)
playbackRate
- Playback rate for animations on pageCopyright © 2017–2018 WebFolder OÜ. All rights reserved.