public interface FrameSequencer
MultiFrameImage. This interface
allows for constant framerates, or more sophisticated animation timing.| Modifier and Type | Interface and Description |
|---|---|
static class |
FrameSequencer.ConstantRate
A frame sequencer that delivers a constant frame rate in either one shot or looping mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fastForward(long timeDelta)
Called if the display is paused for some length of time and then unpaused.
|
int |
init(MultiFrameImage source)
Called prior to the execution of an animation sequence (not necessarily immediately, so
time stamps should be obtained in the first call to tick).
|
int |
tick(long tickStamp)
Called every display frame, the frame sequencer should return the index of the animation
frame that should be displayed during this tick.
|
int init(MultiFrameImage source)
source - the multi-frame image that is providing the animation frames.int tick(long tickStamp)
void fastForward(long timeDelta)
Copyright © 2015. All rights reserved.