| Package | Description |
|---|---|
| com.codename1.ui.animations |
All components are animatable by potential and additional animations (unrelated
to a specific component) can be installed on the fly, transitions between
forms are also handled as part of this package.
|
| Modifier and Type | Method and Description |
|---|---|
AnimationObject |
AnimationObject.copy()
Creates a copy of the given animation object
|
static AnimationObject |
AnimationObject.createAnimationImage(Image img,
int x,
int y)
Creates an animation object instance that can define the animation properties for an image
|
static AnimationObject |
AnimationObject.createAnimationImage(String imageName,
Resources res,
int x,
int y)
Creates an animation object instance that can define the animation properties for an image.
|
AnimationObject |
Timeline.getAnimation(int i)
Returns the animation object in the given offset
|
AnimationObject |
Timeline.getAnimationAt(int x,
int y)
Returns the animation object at the given X/Y coordinate in the timeline
for the current frame.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Timeline.addAnimation(AnimationObject o)
Adds an animation object to show using this timeline
|
static Timeline |
Timeline.createTimeline(int duration,
AnimationObject[] animations,
Dimension size)
Create a new timeline animation
|
Copyright © 2023. All rights reserved.