org.gnu.gdk

Class Image


public class Image
extends GObject

Image represents an area for drawing graphics.

Constructor Summary

Image(Handle handle)
Image(ImageType type, Visual visual, int width, int height)
Create a new Image.

Method Summary

Colormap
getColormap()
Retrieves the colormap for a given image.
void
setColormap(Colormap cmap)
Sets the colormap for the image.

Constructor Details

Image

public Image(Handle handle)

Image

public Image(ImageType type,
             Visual visual,
             int width,
             int height)
Create a new Image.

Method Details

getColormap

public Colormap getColormap()
Retrieves the colormap for a given image.

setColormap

public void setColormap(Colormap cmap)
Sets the colormap for the image.