Vector Graphics, 2.4

org.freehep.graphics2d.example
Class ExportDialogExample

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

public class ExportDialogExample
extends Object

This example shows how to add a standard ExportDialog to your application and allow it to export what you draw in panel to any of the supported vector and bitmap formats. Instead of MyPanel 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).

Author:
Mark Donszelmann

Constructor Summary
ExportDialogExample()
           
 
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

ExportDialogExample

public ExportDialogExample()
Method Detail

main

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

Vector Graphics, 2.4

Copyright © 2014. All rights reserved.