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
ColormapgetColormap()
Retrieves the colormap for a given image.
voidsetColormap(Colormap cmap)
Sets the colormap for the image.

Constructor Detail

Image

public Image(Handle handle)

Image

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

Method Detail

getColormap

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

setColormap

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