|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Drawable
The Drawable interface specifies operations that are available
on all drawable surfaces (either a screen or an offscreen memory region).
| Method Summary | |
|---|---|
java.awt.image.ColorModel |
getColorModel()
Get the color model of this Drawable. |
Graphics |
getGraphics(GeometryProvider provider)
Get a Graphics object associated with this Drawable. |
java.awt.Dimension |
getSize()
Get the size of this Drawable. |
| Method Detail |
|---|
java.awt.Dimension getSize()
Drawable.
java.awt.image.ColorModel getColorModel()
Drawable. May be null if the
object's color model is indeterminate.
java.awt.image.ColorModel object.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.
GeometryProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||