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

CONSTRUCTOR INDEX

 O AnimImage()

METHOD INDEX

 O getHeight()
Returns the height of the source image in pixels.
 O getWidth()
Returns the width of the source image in pixels.
 O size()
Returns the size of the source image in pixels.

CONSTRUCTORS

 O AnimImage
  public AnimImage()

METHODS

 O getWidth
  public int getWidth()
Returns the width of the source image in pixels.
Returns:
source image width, in pixels
See Also:
getHeight, size
 O getHeight
  public int getHeight()
Returns the height of the source image in pixels.
Returns:
source image height, in pixels
See Also:
getWidth, size
 O 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
Free Web Hosting