All Packages Class Hierarchy This Package Previous Next Index
Drawable
interface specifies operations that are available
on all drawable surfaces (either a screen or an offscreen memory region).
Drawable
.
Graphics
object associated with this Drawable
.
Drawable
.
public abstract Dimension getSize()
Drawable
.
public abstract ColorModel getColorModel()
Drawable
. May be null if the
object's color model is indeterminate.
java.awt.image.ColorModel
object.
public abstract Graphics getGraphics(GeometryProvider provider)
Graphics
object associated with this Drawable
.
The Graphics
object must consult the GeometryProvider
on every draw, in order to properly clip and translate.
The GeometryProvider
is what allows the underlying graphics
library to properly draw into a window.
All Packages Class Hierarchy This Package Previous Next Index