public class Pixmap
extends java.lang.Object
Constructor and Description |
---|
Pixmap(ColorSpace cs,
int w,
int h) |
Pixmap(ColorSpace cs,
int w,
int h,
boolean alpha) |
Pixmap(ColorSpace cs,
int x,
int y,
int w,
int h) |
Pixmap(ColorSpace cs,
int x,
int y,
int w,
int h,
boolean alpha) |
Pixmap(ColorSpace cs,
Rect rect) |
Pixmap(ColorSpace cs,
Rect rect,
boolean alpha) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clear(int value) |
void |
destroy() |
protected void |
finalize() |
void |
gamma(float gamma) |
boolean |
getAlpha() |
Rect |
getBounds() |
ColorSpace |
getColorSpace() |
int |
getHeight() |
int |
getNumberOfComponents() |
int[] |
getPixels() |
byte |
getSample(int x,
int y,
int n) |
byte[] |
getSamples() |
int |
getStride() |
int |
getWidth() |
int |
getX() |
int |
getXResolution() |
int |
getY() |
int |
getYResolution() |
void |
invert() |
void |
invertLuminance() |
void |
saveAsPNG(java.lang.String filename) |
void |
tint(int black,
int white) |
java.lang.String |
toString() |
public Pixmap(ColorSpace cs, int x, int y, int w, int h, boolean alpha)
public Pixmap(ColorSpace cs, int x, int y, int w, int h)
public Pixmap(ColorSpace cs, int w, int h, boolean alpha)
public Pixmap(ColorSpace cs, int w, int h)
public Pixmap(ColorSpace cs, Rect rect, boolean alpha)
public Pixmap(ColorSpace cs, Rect rect)
protected void finalize()
finalize
in class java.lang.Object
public void destroy()
public void clear()
public void clear(int value)
public void saveAsPNG(java.lang.String filename)
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public int getStride()
public int getNumberOfComponents()
public boolean getAlpha()
public ColorSpace getColorSpace()
public byte[] getSamples()
public byte getSample(int x, int y, int n)
public int[] getPixels()
public int getXResolution()
public int getYResolution()
public void invert()
public void invertLuminance()
public void gamma(float gamma)
public void tint(int black, int white)
public Rect getBounds()
public java.lang.String toString()
toString
in class java.lang.Object