gnu.x11.image
Class Image
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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()