| |
|
| java.lang.Object java2d.ps.EPSExample1
EPSExample1 | public class EPSExample1 (Code) | | This example demonstrates how you can generate an EPS (Encapsulated PostScript) file in Java
using the EPSDocumentGraphics2D class from Apache XML Graphics Commons.
|
generateEPSusingJava2D | public static void generateEPSusingJava2D(File outputFile) throws IOException(Code) | | Creates an EPS file. The contents are painted using a Graphics2D implementation that
generates an EPS file.
Parameters: outputFile - the target file throws: IOException - In case of an I/O error |
main | public static void main(String[] args)(Code) | | Command-line interface
Parameters: args - command-line arguments |
|
|
|