|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcckit.SVGPlotter
Creates an SVG document from a plot by using the
SVGRenderer
.
Constructor Summary | |
SVGPlotter()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Creates an SVG document based on a .properties file. |
static java.lang.String |
makeSVG(PlotCanvas canvas,
java.lang.String renderer)
Creates an SVG document from the specified plot canvas. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVGPlotter()
Method Detail |
public static java.lang.String makeSVG(PlotCanvas canvas, java.lang.String renderer)
PlotCanvas.getPaper()
and preserveAspectRatio determined by
PlotCanvas.getHorizontalAnchor()
and
PlotCanvas.getVerticalAnchor()
.
canvas
- Canvas from which the SVG document is created.renderer
- Fully qualified class name of the renderer.
java.lang.ClassCastException
- if renderer is not of type
SVGRenderer
.public static void main(java.lang.String[] args) throws java.lang.Exception
Usage: java jcckit.SVGPlotter [-o <output file>] <properties file>
If the -o option isn't present the SVG output will be printed onto the console.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |