org.freedesktop.cairo
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.public class ImageSurface extends Surface
| Constructor and Description |
|---|
ImageSurface(char[] data,
Format format,
int width,
int height,
int stride)
Deprecated.
|
ImageSurface(Format format,
int width,
int height)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageSurface |
createFromPNG(java.lang.String filename)
Deprecated.
|
int |
getHeight()
Deprecated.
|
int |
getWidth()
Deprecated.
|
createSimilar, finish, flush, getFontOptions, markDirty, markDirty, setDeviceOffset, writeToPNG, writeToPNGpublic ImageSurface(Format format, int width, int height)
public ImageSurface(char[] data,
Format format,
int width,
int height,
int stride)
public int getWidth()
public int getHeight()
public static ImageSurface createFromPNG(java.lang.String filename)