java.lang.Object
jpicedt.format.pstricks.PicRectangleFormatter
- All Implemented Interfaces:
- jpicedt.graphic.io.formatter.Formatter, jpicedt.graphic.model.PicObjectConstants, PstricksConstants
- public class PicRectangleFormatter
- extends java.lang.Object
- implements jpicedt.graphic.io.formatter.Formatter, jpicedt.graphic.model.PicObjectConstants, PstricksConstants
Pstricks formatter for PicRectangle objects.
- Version:
- $Id: PicRectangleFormatter.java,v 1.2 2002/08/05 16:44:10 reynal Exp $
| 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 |
|
Method Summary |
java.lang.String |
format()
PsTricks formating algorithm
ex : \psframe[framearc=0.5,linecolor=red,linewidth=0.2,fillstyle=solid,fillcolor=blue](2,2)(5,7) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
obj
private jpicedt.graphic.model.PicRectangle obj
- the Element this formatter acts upon
factory
private PstricksFormatter factory
PicRectangleFormatter
public PicRectangleFormatter(jpicedt.graphic.model.PicRectangle obj,
PstricksFormatter factory)
format
public java.lang.String format()
- PsTricks formating algorithm
ex : \psframe[framearc=0.5,linecolor=red,linewidth=0.2,fillstyle=solid,fillcolor=blue](2,2)(5,7)
- Specified by:
format in interface jpicedt.graphic.io.formatter.Formatter