| An extension of java.awt.Canvas for use with JAI.
CanvasJAI automatically returns an instance of
GraphicsJAI from its getGraphics()
method. This guarantees that the update(Graphics g)
and paint(Graphics g) methods will receive a
GraphicsJAI instance for accelerated rendering of
JAI images.
In circumstances where it is not possible to use
CanvasJAI , a similar effect may be obtained by
manually calling GraphicsJAI.createGraphicsJAI() to
"wrap" a Graphics2D object.
See Also: GraphicsJAI |