All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.app.anim.TwoDSpriteInfo
java.lang.Object
|
+----quicktime.app.anim.TwoDSpriteInfo
- public final class TwoDSpriteInfo
- extends Object
- implements ImageSpec, Serializable
This class can be used to retain the current sprite settings which can be used
at a later stage to reset the TwoDSprite to those settings. The EncodedImage and ImageDescription
of the TwoDSpriteInfo class are transient and thus will not be saved when this object is serialized.
Applications should use a QuickTime movie or other means of saving image data.
- See Also:
- TwoDSprite
-
TwoDSpriteInfo(EncodedImage, ImageDescription, Matrix, boolean, int)
- Contains the information that can be used to create a sprite.
-
TwoDSpriteInfo(EncodedImage, ImageDescription, Matrix, boolean, int, GraphicsMode)
- Contains the information that can be used to create a sprite.
-
getDescription()
-
-
getGraphicsMode()
-
-
getImage()
-
-
getLayer()
-
-
getMatrix()
-
-
getVisible()
-
TwoDSpriteInfo
public TwoDSpriteInfo(EncodedImage im,
ImageDescription d,
Matrix m,
boolean v,
int l)
- Contains the information that can be used to create a sprite.
- Parameters:
- im - the image of the sprite
- d - the image description that describes the format of the im
- m - the display matrix applied to the sprite
- v - if true the sprite is/was visible
- l - the layer of the sprite in its sprite world
TwoDSpriteInfo
public TwoDSpriteInfo(EncodedImage im,
ImageDescription d,
Matrix m,
boolean v,
int l,
GraphicsMode gm)
- Contains the information that can be used to create a sprite.
- Parameters:
- im - the image of the sprite
- d - the image description that describes the format of the im
- m - the display matrix applied to the sprite
- l - the layer of the sprite in its sprite world
- v - if true the sprite is/was visible
- gm - the GraphicsMode (or null)
getImage
public EncodedImage getImage()
- Returns:
- The current image data of the sprite
getDescription
public ImageDescription getDescription()
- Returns:
- The description that describes the image
getMatrix
public Matrix getMatrix()
- Returns:
- The display matrix of the Sprite
getLayer
public int getLayer()
- Returns:
- The layer of the sprite in its SpriteWorld
getVisible
public boolean getVisible()
- Returns:
- The visibility of the sprite
getGraphicsMode
public GraphicsMode getGraphicsMode()
All Packages Class Hierarchy This Package Previous Next Index