|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageRenderer
Interface for GVT Renderers that render into raster images.
Method Summary | |
---|---|
void |
clearOffScreen()
Tells renderer to clear current contents of offscreen buffer |
void |
dispose()
release resources associated with this object. |
void |
flush()
Flush any cached image data (preliminary interface). |
void |
flush(Collection areas)
Flush a list of rectangles of cached image data (preliminary interface). |
void |
flush(Rectangle r)
Flush a rectangle of cached image data (preliminary interface). |
BufferedImage |
getOffScreen()
Get the Current offscreen buffer used for rendering |
RenderingHints |
getRenderingHints()
Returns the rendering hints this ImageRenderer is using for its rendering. |
AffineTransform |
getTransform()
Returns the transform from the current user space (as defined by the top node of the GVT tree) to the device space. |
void |
setRenderingHints(RenderingHints rh)
Sets the specified rendering hints to be used for future renderings. |
void |
setTransform(AffineTransform usr2dev)
Sets the transform from the current user space (as defined by the top node of the GVT tree, to the associated device space. |
void |
updateOffScreen(int width,
int height)
Update the required size of the offscreen buffer. |
Methods inherited from interface org.apache.batik.gvt.renderer.Renderer |
---|
getTree, isDoubleBuffered, repaint, repaint, setDoubleBuffered, setTree |
Method Detail |
---|
void dispose()
dispose
in interface Renderer
void updateOffScreen(int width, int height)
void setTransform(AffineTransform usr2dev)
setTransform
in interface Renderer
usr2dev
- the new user space to device space transform. If null,
the identity transform will be set.AffineTransform getTransform()
getTransform
in interface Renderer
void setRenderingHints(RenderingHints rh)
rh
- the rendering hints to useRenderingHints getRenderingHints()
BufferedImage getOffScreen()
void clearOffScreen()
void flush()
void flush(Rectangle r)
void flush(Collection areas)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |