jpicedt.format.output.pstricks
Class PstricksFormatter.DrawingFormatter
java.lang.Object
jpicedt.graphic.io.formatter.AbstractDrawingFormatter
jpicedt.format.output.pstricks.PstricksFormatter.DrawingFormatter
- All Implemented Interfaces:
- Formatter
- Enclosing class:
- PstricksFormatter
public class PstricksFormatter.DrawingFormatter
- extends AbstractDrawingFormatter
"begin{pspicture}(x0,y0)(x1,y1)" (PsTricks) where
(x0,y0)=lower-left corner and
(x1,y1)=upper-right corner
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 |
PstricksFormatter.DrawingFormatter
public PstricksFormatter.DrawingFormatter(Drawing drawing,
Object outputConstraint)
- init this formatter for the given drawing
- Parameters:
outputConstraint
- 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