|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.j3d.util.ImageUtils
A utility class that allows you to do various actions with images, such as conversions and creating items that are useful as textures.
| Constructor Summary | |
ImageUtils()
|
|
| Method Summary | |
static java.awt.image.BufferedImage |
createBufferedImage(java.awt.Image img)
Create a BufferedImage from the given source
image. |
static java.awt.image.BufferedImage |
createBufferedImage(java.awt.image.ImageProducer prod)
Create a BufferedImage from the given source
image producer. |
| 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 java.awt.image.BufferedImage createBufferedImage(java.awt.Image img)
BufferedImage from the given source
image. If the source image is already a buffered image it will
immediately return with the parameter as the return value.
img - The source image to create buffered image from
public static java.awt.image.BufferedImage createBufferedImage(java.awt.image.ImageProducer prod)
BufferedImage from the given source
image producer.
prod - The source imageproducer to create buffered image from
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||