Package snap.gfx
Class ImageSet
java.lang.Object
snap.gfx.ImageSet
A class to manage a set of images.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
Returns the number of images.getImage
(int anIndex) Returns the individual image at index.getImageScaled
(double aRatio) Returns the image set scaled.int
Returns the next image.Returns the next image.Returns a sheet image.
-
Constructor Details
-
ImageSet
Constructor.
-
-
Method Details
-
getCount
public int getCount()Returns the number of images. -
getImage
Returns the individual image at index. -
getIndex
Returns the next image. -
getNext
Returns the next image. -
getImageScaled
Returns the image set scaled. -
getSpriteSheetImage
Returns a sheet image.
-