org.freedesktop.cairo
Class ImageSurface
java.lang.Object
org.gnu.glib.Struct
org.freedesktop.cairo.CairoObject
org.freedesktop.cairo.Surface
org.freedesktop.cairo.ImageSurface
- public class ImageSurface
- extends Surface
Methods inherited from class org.gnu.glib.Struct |
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
ImageSurface
public ImageSurface(Format format,
int width,
int height)
ImageSurface
public ImageSurface(char[] data,
Format format,
int width,
int height,
int stride)
getWidth
public int getWidth()
getHeight
public int getHeight()
createFromPNG
public static ImageSurface createFromPNG(java.lang.String filename)