org.jagatoo.image
Class BufferedImageFactory
java.lang.Object
org.jagatoo.image.BufferedImageFactory
public class BufferedImageFactory
- extends java.lang.Object
Provides static factory methods to create BufferedImages.
|
Method Summary |
static java.awt.image.BufferedImage |
createCustomRGB(int width,
int height)
|
static java.awt.image.BufferedImage |
createCustomRGBA(int width,
int height)
|
static DirectBufferedImage |
createDirectBufferedImage(int width,
int height,
boolean hasAlpha,
int[] pixelOffsets,
java.nio.ByteBuffer bb)
|
static SharedBufferedImage |
createSharedBufferedImage(int width,
int height,
int pixelSize,
boolean hasAlpha,
int[] pixelOffsets,
byte[] data)
|
static SharedBufferedImage |
createSharedBufferedImage(int width,
int height,
int pixelSize,
int[] pixelOffsets,
byte[] data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedImageFactory
public BufferedImageFactory()
createCustomRGB
public static java.awt.image.BufferedImage createCustomRGB(int width,
int height)
createCustomRGBA
public static java.awt.image.BufferedImage createCustomRGBA(int width,
int height)
createSharedBufferedImage
public static SharedBufferedImage createSharedBufferedImage(int width,
int height,
int pixelSize,
boolean hasAlpha,
int[] pixelOffsets,
byte[] data)
createSharedBufferedImage
public static final SharedBufferedImage createSharedBufferedImage(int width,
int height,
int pixelSize,
int[] pixelOffsets,
byte[] data)
createDirectBufferedImage
public static DirectBufferedImage createDirectBufferedImage(int width,
int height,
boolean hasAlpha,
int[] pixelOffsets,
java.nio.ByteBuffer bb)