public interface ImageRenderer extends Renderer
Modifier and Type | Method and Description |
---|---|
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(java.util.Collection areas)
Flush a list of rectangles of cached image data (preliminary
interface).
|
void |
flush(java.awt.Rectangle r)
Flush a rectangle of cached image data (preliminary interface).
|
java.awt.image.BufferedImage |
getOffScreen()
Get the Current offscreen buffer used for rendering
|
java.awt.RenderingHints |
getRenderingHints()
Returns the rendering hints this ImageRenderer is using for its
rendering.
|
java.awt.geom.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(java.awt.RenderingHints rh)
Sets the specified rendering hints to be used for future renderings.
|
void |
setTransform(java.awt.geom.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.
|
getTree, isDoubleBuffered, repaint, repaint, setDoubleBuffered, setTree
void dispose()
void updateOffScreen(int width, int height)
void setTransform(java.awt.geom.AffineTransform usr2dev)
setTransform
in interface Renderer
usr2dev
- the new user space to device space transform. If null,
the identity transform will be set.java.awt.geom.AffineTransform getTransform()
getTransform
in interface Renderer
void setRenderingHints(java.awt.RenderingHints rh)
rh
- the rendering hints to usejava.awt.RenderingHints getRenderingHints()
java.awt.image.BufferedImage getOffScreen()
void clearOffScreen()
void flush()
void flush(java.awt.Rectangle r)
void flush(java.util.Collection areas)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.