jpicedt.graphic.io.formatter
Class JPICFormatter.DrawingFormatter
java.lang.Object
jpicedt.graphic.io.formatter.AbstractDrawingFormatter
jpicedt.graphic.io.formatter.JPICFormatter.DrawingFormatter
- All Implemented Interfaces:
- Formatter
- Enclosing class:
- JPICFormatter
protected class JPICFormatter.DrawingFormatter
- extends AbstractDrawingFormatter
A Drawing's formatter for the JPIC-XML language.
Method Summary |
String |
format()
Create a String representing an Element in the format of this formatter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPICFormatter.DrawingFormatter
public JPICFormatter.DrawingFormatter(Drawing drawing,
Object outputConstraints,
AbstractFormatterFactory factory)
- init this formatter for the given drawing
- Parameters:
outputConstraints
- if MAKE_STANDALONE_FILE, prepend/append prolog and epilog.
format
public String format()
throws IOException
- Description copied from interface:
Formatter
- Create a String representing an Element in the format of this formatter
- Returns:
- a String representing this Drawing in the PsTricks format
!!! PsTricks's default unit = 1cm !!!
- Throws:
IOException
Submit a bug : syd@jpicedt.org