org.freedesktop.cairo
public class ImageSurface extends Surface
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may exist in java-gnome 4.0; look out for
org.freedesktop.cairo.ImageSurface
.
As this package was never correctly implemented in java-gnome 2.x,
any new code written will likely have a considerably different
public API.
Constructor Summary | |
---|---|
ImageSurface(Format format, int width, int height) | |
ImageSurface(char[] data, Format format, int width, int height, int stride) |
Method Summary | |
---|---|
static ImageSurface | createFromPNG(String filename) |
int | getHeight() |
int | getWidth() |