gnu.x11.image
Class ZPixmap
java.lang.Object
gnu.x11.image.Image
gnu.x11.image.ZPixmap
- Direct Known Subclasses:
- PPM, XPM
public class ZPixmap
- extends Image
Fields inherited from class gnu.x11.image.Image |
data, format, height, LEAST_SIGNIFICANT, left_pad, line_byte_count, LSB_FIRST, MOST_SIGNIFICANT, MSB_FIRST, pixmap_format, width |
Method Summary |
void |
set_blue(int x,
int y,
int b)
|
void |
set_data(int[] image_data)
Puts the image data into this image. |
void |
set_green(int x,
int y,
int g)
|
void |
set_red(int x,
int y,
int r)
|
void |
set(int x,
int y,
Color color)
|
void |
set(int x,
int y,
int pixel)
|
void |
set(int x,
int y,
int r,
int g,
int b)
|
Methods inherited from class gnu.x11.image.Image |
init |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMAT
public static final int FORMAT
- See Also:
- Constant Field Values
image_byte_order
public int image_byte_order
pixel_byte_count
public int pixel_byte_count
ZPixmap
public ZPixmap(Display display)
ZPixmap
public ZPixmap(Display display,
int width,
int height,
Pixmap.Format format)
set
public void set(int x,
int y,
Color color)
set
public void set(int x,
int y,
int pixel)
set_red
public void set_red(int x,
int y,
int r)
set_green
public void set_green(int x,
int y,
int g)
set_blue
public void set_blue(int x,
int y,
int b)
set
public void set(int x,
int y,
int r,
int g,
int b)
set_data
public void set_data(int[] image_data)
- Puts the image data into this image. This data must be in the same format
as specified in this image.
- Parameters:
image_data
- the data to set