public interface MultiFrameImage
| Modifier and Type | Method and Description |
|---|---|
int |
getFrameCount()
Returns the number of frames in this multi-frame image.
|
int |
getHeight(int index)
Returns the height of the specified frame image.
|
int |
getWidth(int index)
Returns the width of the specified frame image.
|
boolean |
hitTest(int index,
int x,
int y)
Returns true if the specified frame contains a non-transparent
pixel at the specified coordinates.
|
void |
paintFrame(Graphics2D g,
int index,
int x,
int y)
Renders the specified frame into the specified graphics object at
the specified coordinates.
|
int getFrameCount()
int getWidth(int index)
int getHeight(int index)
void paintFrame(Graphics2D g, int index, int x, int y)
boolean hitTest(int index,
int x,
int y)
Copyright © 2015. All rights reserved.