public abstract class ImageRenderer extends Renderer
BufferedImage. Subclasses may then encode the image in
different formats (e.g. PNG or EPS).| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowAlpha
Whether to allow usage of transparency.
|
protected java.awt.Graphics |
g |
protected java.awt.image.BufferedImage |
img |
| Constructor and Description |
|---|
ImageRenderer() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getFileSuffix()
Returns the file suffix to use for the rendered image.
|
void |
render(java.util.Properties headers,
BootStats bootStats,
java.io.OutputStream os)
Render the chart.
|
protected java.awt.Graphics g
protected java.awt.image.BufferedImage img
protected boolean allowAlpha
public void render(java.util.Properties headers,
BootStats bootStats,
java.io.OutputStream os)
throws java.io.IOException
public abstract java.lang.String getFileSuffix()
RenderergetFileSuffix in class Renderer