|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Image | +--com.cult3d.TextureImage
This class represents an off-screen image that can be used for painting. Use the Cult.createImage() methods to obtain a TextureImage.
Cult.createImage(int, int)
Fields inherited from class java.awt.Image |
SCALE_AREA_AVERAGING,
SCALE_DEFAULT,
SCALE_FAST,
SCALE_REPLICATE,
SCALE_SMOOTH,
UndefinedProperty |
Method Summary | |
void |
flush()
Flushes all resources being used by this Image object. |
java.awt.Graphics |
getGraphics()
Returns a Graphics object that represents the drawable area of the Image. |
int |
getHeight(java.awt.image.ImageObserver observer)
Returns the height of the image. |
java.lang.String |
getInfo()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D. |
java.lang.String |
getName()
If this image has been loaded by name (Cult.getImage(String)), it returns the name of this image, otherwise it returns null |
java.lang.Object |
getProperty(java.lang.String name,
java.awt.image.ImageObserver observer)
Gets a property of the image by name. |
java.awt.image.ImageProducer |
getSource()
Returns the ImageProducer object that produces the pixels for this image. |
int |
getWidth(java.awt.image.ImageObserver observer)
Returns the width of the image. |
java.lang.String |
toString()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D. |
Methods inherited from class java.awt.Image |
getScaledInstance |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public int getWidth(java.awt.image.ImageObserver observer)
getHeight(java.awt.image.ImageObserver)
public int getHeight(java.awt.image.ImageObserver observer)
getWidth(java.awt.image.ImageObserver)
public java.awt.image.ImageProducer getSource()
public java.awt.Graphics getGraphics()
TextureGraphics
public java.lang.Object getProperty(java.lang.String name, java.awt.image.ImageObserver observer)
public void flush()
public java.lang.String getName()
public java.lang.String getInfo()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
public java.lang.String toString()
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |