public final class QImage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static QImage |
fromBufferedImage(ColorMapper mapper,
java.awt.image.BufferedImage img) |
static QImage |
fromColors(QColor[][] colors) |
QColor |
getColor(int index) |
QColor |
getColor(int x,
int y) |
int |
getHeight() |
int |
getNumPixels() |
int |
getWidth() |
java.awt.image.BufferedImage |
toBufferedImage() |
java.awt.image.BufferedImage |
toBufferedImageKeepTransparency(java.awt.image.BufferedImage orig) |
public static QImage fromBufferedImage(ColorMapper mapper, java.awt.image.BufferedImage img)
public QColor getColor(int x, int y)
public QColor getColor(int index)
public int getWidth()
public int getHeight()
public int getNumPixels()
public java.awt.image.BufferedImage toBufferedImage()
public java.awt.image.BufferedImage toBufferedImageKeepTransparency(java.awt.image.BufferedImage orig)