Class anim.AnimImage
All Packages Class Hierarchy This Package Previous Next Index
Class anim.AnimImage
java.lang.Object
|
+----anim.AnimImage
- public class AnimImage
- extends Object
An abstract class to define a source image used in a Sprite.
Copyright (c) 1996-1997 Intel Corporation
- See Also:
- SingleImage, ImageSequence
-
AnimImage()
-
-
getHeight()
- Returns the height of the source image in pixels.
-
getWidth()
- Returns the width of the source image in pixels.
-
size()
- Returns the size of the source image in pixels.
AnimImage
public AnimImage()
getWidth
public int getWidth()
- Returns the width of the source image in pixels.
- Returns:
- source image width, in pixels
- See Also:
- getHeight, size
getHeight
public int getHeight()
- Returns the height of the source image in pixels.
- Returns:
- source image height, in pixels
- See Also:
- getWidth, size
size
public Dimension size()
- Returns the size of the source image in pixels.
- Returns:
- source image size, in pixels
- See Also:
- getHeight, getWidth
All Packages Class Hierarchy This Package Previous Next Index