public static class JHelpAnimatedImage.AnimationFrame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
JHelpImage |
image
Image to draw
|
java.awt.Rectangle |
imagePart
Zone of the image
|
int |
time
Time duration of the frame
|
int |
x
Frame X position
|
int |
y
Frame Y position
|
Constructor and Description |
---|
JHelpAnimatedImage.AnimationFrame(JHelpImage image,
int x,
int y,
int time)
Create a new instance of AnimationFrame
|
public JHelpImage image
public java.awt.Rectangle imagePart
public int time
public int x
public int y
public JHelpAnimatedImage.AnimationFrame(JHelpImage image, int x, int y, int time)
image
- Image for the framex
- X positiony
- Y positiontime
- Time to play the frame