|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmako5.gfx.j2d.JImageUtils
public final class JImageUtils
Used to perform specialized operations upon Java2D image types.
Method Summary | |
---|---|
static BufferedImage |
convertToBufferedImage(Image rImage_,
int iType_)
Converts a standard Java image into a buffered image. |
static int |
convertToOpenGL(BufferedImage rImage_)
Takes the input image and returns an OpenGL image reference to a copied image. |
static BufferedImage |
copyImage(Image rImage_,
BufferedImage rDest_)
Converts a standard Java image into the given buffered image. |
static Image |
load(String rSource_)
Loads a Java image from the given string file. |
static Image |
load(URL rSource_)
Loads a Java image from the given file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Image load(String rSource_)
rSource_
- the location of the image data
public static Image load(URL rSource_)
rSource_
- the location of the image data
public static BufferedImage convertToBufferedImage(Image rImage_, int iType_)
rImage_
- the input imageiType_
- the type of buffered image to use
public static BufferedImage copyImage(Image rImage_, BufferedImage rDest_)
rImage_
- the input imagerDest_
- the destination image
public static int convertToOpenGL(BufferedImage rImage_)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |