public interface Animation
Modifier and Type | Method and 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 enable()
void disable()
Double getPlaybackRate()
void setPlaybackRate(Double playbackRate)
playbackRate
- Playback rate for animations on pageDouble getCurrentTime(String id)
id
- Id of animation.void setPaused(List<String> animations, Boolean paused)
animations
- Animations to set the pause state of.paused
- Paused state to set to.void setTiming(String animationId, Double duration, Double delay)
animationId
- Animation id.duration
- Duration of the animation.delay
- Delay of the animation.void seekAnimations(List<String> animations, Double currentTime)
animations
- List of animation ids to seek.currentTime
- Set the current time of each animation.void releaseAnimations(List<String> animations)
animations
- List of animation ids to seek.RemoteObject resolveAnimation(String animationId)
animationId
- Animation id.Copyright © 2017 WebFolder OÜ. All rights reserved.