gnu.x11.image
Class Image

java.lang.Object
  extended by gnu.x11.image.Image
Direct Known Subclasses:
Bitmap, ZPixmap

public abstract class Image
extends java.lang.Object


Nested Class Summary
static class Image.Format
          The possible pixmap formats for client side images.
 
Field Summary
static int LEAST_SIGNIFICANT
           
static int LSB_FIRST
           
static int MOST_SIGNIFICANT
           
static int MSB_FIRST
           
 
Method Summary
 byte[] get_data()
           
 Image.Format get_format()
          Returns the image format.
 int get_height()
          Returns the height of the image in pixels.
 int get_left_pad()
           
 int get_line_byte_count()
           
 Pixmap.Format get_pixmap_format()
           
 int get_width()
          Returns the width of the image in pixels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LSB_FIRST

public static final int LSB_FIRST
See Also:
Constant Field Values

MSB_FIRST

public static final int MSB_FIRST
See Also:
Constant Field Values

LEAST_SIGNIFICANT

public static final int LEAST_SIGNIFICANT
See Also:
Constant Field Values

MOST_SIGNIFICANT

public static final int MOST_SIGNIFICANT
See Also:
Constant Field Values
Method Detail

get_width

public int get_width()
Returns the width of the image in pixels.

Returns:
the width of the image in pixels

get_height

public int get_height()
Returns the height of the image in pixels.

Returns:
the height of the image in pixels

get_format

public Image.Format get_format()
Returns the image format.

Returns:
the image format

get_data

public byte[] get_data()

get_left_pad

public int get_left_pad()

get_pixmap_format

public Pixmap.Format get_pixmap_format()

get_line_byte_count

public int get_line_byte_count()