|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme.util.ImageUtils
public class ImageUtils
Constructor Summary | |
---|---|
ImageUtils()
|
Method Summary | |
---|---|
static Image |
convert(Image source,
Image.Format convertTo)
This method converts between different Image formats. |
static java.awt.Image |
makeAwtImage(Image image)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageUtils()
Method Detail |
---|
public static Image convert(Image source, Image.Format convertTo) throws JmeException
source
- The source Image to convert from.convertTo
- The type of Image to convert to. Eg. Image.RGBA8888
JmeException
- thrown is the conversion can not be done.public static java.awt.Image makeAwtImage(Image image)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |