Vector Graphics, 2.4

org.freehep.graphics2d.example
Class HeadlessExample

java.lang.Object
  extended by org.freehep.graphics2d.example.HeadlessExample

public class HeadlessExample
extends Object

This example shows how to export what you draw in a panel to any of the supported vector and bitmap formats without drawing it on the screen. Instead of YourPanel you should use your own panel/component. The output formats available depend on the jar files you add to the CLASSPATH. This example (or your application) solely depends on the ExportDialog class and the VectorGraphics class (the latter only if you wish to use special methods from this class in the paint methods).

Version:
$Id: src/main/examples/HeadlessExample.java e31519a485cd 2006/12/07 15:42:14 duns $
Author:
Mark Donszelmann

Constructor Summary
HeadlessExample()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadlessExample

public HeadlessExample()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

Vector Graphics, 2.4

Copyright © 2014. All rights reserved.