1 // Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
6 * The in-memory representation of a PNG or GIF image. It is
7 * read-only. It is usually passed to DoubleBuffer.drawPicture()
11 * Implementations of the Platform class should return objects
12 * supporting this interface from the createPicture() method. These
13 * implementations may choose to implement caching strategies (for
14 * example, using a Pixmap on X11).
17 public abstract class Picture {
18 public abstract int getHeight();
19 public abstract int getWidth();