java.lang.Object
jpicedt.format.pstricks.PstricksFormatter
- All Implemented Interfaces:
- jpicedt.graphic.io.formatter.FormatterFactory, jpicedt.graphic.model.PicObjectConstants, PstricksConstants
- public class PstricksFormatter
- extends java.lang.Object
- implements jpicedt.graphic.io.formatter.FormatterFactory, jpicedt.graphic.model.PicObjectConstants, PstricksConstants
FormatterFactory that produces formatters for the Pstricks macro package.
- Version:
- $Id: PstricksFormatter.java,v 1.2 2002/08/05 16:44:10 reynal Exp $
|
Nested Class Summary |
class |
PstricksFormatter.DrawingFormatter
"begin{pspicture}(x0,y0)(x1,y1)" (PsTricks) where
(x0,y0)=lower-left corner and
(x1,y1)=upper-right corner |
class |
PstricksFormatter.ParameterString
an inner class that represents a PsTricks parameter string (useful especially to handle User Defined Colours)
the basic problem is that, if a new colour has to be defined, this has to be done through e.g. |
| Fields inherited from interface jpicedt.graphic.model.PicObjectConstants |
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileWrapperProlog
protected static java.lang.String fileWrapperProlog
fileWrapperEpilog
protected static java.lang.String fileWrapperEpilog
PstricksFormatter
public PstricksFormatter()
createFormatter
public jpicedt.graphic.io.formatter.Formatter createFormatter(jpicedt.graphic.model.Element e)
- Specified by:
createFormatter in interface jpicedt.graphic.io.formatter.FormatterFactory
configure
public static void configure(java.util.Properties preferences)
- Configure static fields using the given Properties object
createFormatter
public jpicedt.graphic.io.formatter.Formatter createFormatter(jpicedt.graphic.model.Drawing d,
java.lang.Object outputConstraint)
- Specified by:
createFormatter in interface jpicedt.graphic.io.formatter.FormatterFactory
createParameterString
public PstricksFormatter.ParameterString createParameterString(jpicedt.graphic.model.Element obj)