public interface FrameData
DataProvider| Modifier and Type | Field and Description |
|---|---|
static int |
AWT_IMAGE |
static int |
BITMAP_IMAGE_16 |
static int |
BITMAP_IMAGE_32 |
static int |
BITMAP_IMAGE_8 |
static int |
BITMAP_IMAGE_F32 |
static int |
BITMAP_IMAGE_U16 |
static int |
BITMAP_IMAGE_U32 |
static int |
BITMAP_IMAGE_U8 |
static int |
JAI_IMAGE |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFrameAt(int idx)
Return the frame at the given position.
|
Dimension |
getFrameDimension()
Return the dimension of a frame.
|
float[] |
getFrameTimes()
Return the times associated with every frame of the sequence.
|
int |
getFrameType()
Returns the type of the corresponding frames.
|
int |
getNumFrames()
Returns the number of frames in the sequence.
|
static final int AWT_IMAGE
static final int BITMAP_IMAGE_16
static final int BITMAP_IMAGE_32
static final int BITMAP_IMAGE_8
static final int BITMAP_IMAGE_F32
static final int BITMAP_IMAGE_U16
static final int BITMAP_IMAGE_U32
static final int BITMAP_IMAGE_U8
static final int JAI_IMAGE
byte[] getFrameAt(int idx)
throws IOException
idx - The index of the requested frame in the frame sequence.IOExceptionDimension getFrameDimension() throws Exception
IOExceptionExceptionfloat[] getFrameTimes()
throws Exception
Exceptionint getFrameType()
throws Exception
IOExceptionExceptionint getNumFrames()
throws Exception
IOExceptionExceptionCopyright © 2021. All rights reserved.