Package org.bootchart.renderer
Class EPSRenderer
java.lang.Object
org.bootchart.renderer.Renderer
org.bootchart.renderer.ImageRenderer
org.bootchart.renderer.EPSRenderer
EPSRenderer renders the boot chart as an EPS (encapsulated postscript)
image.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanWhether to compress EPS output.Fields inherited from class org.bootchart.renderer.ImageRenderer
allowAlpha, g, img -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the file suffix to use for the rendered image.voidrender(Properties headers, BootStats bootStats, OutputStream os) Render the chart.
-
Field Details
-
COMPRESS_EPS
public static final boolean COMPRESS_EPSWhether to compress EPS output.- See Also:
-
-
Constructor Details
-
EPSRenderer
public EPSRenderer()
-
-
Method Details
-
render
Description copied from class:ImageRendererRender the chart.- Overrides:
renderin classImageRenderer- Parameters:
headers- header properties to include in the title bannerbootStats- boot statisticsos- the output stream to write t- Throws:
IOException- if an I/O error occurs
-
getFileSuffix
Description copied from class:RendererReturns the file suffix to use for the rendered image.- Specified by:
getFileSuffixin classImageRenderer- Returns:
- file suffix
-