java.lang.Object
jpicedt.format.pstricks.PstricksUtilities
- All Implemented Interfaces:
- jpicedt.graphic.model.PicObjectConstants, PstricksConstants
- public class PstricksUtilities
- extends java.lang.Object
- implements PstricksConstants, jpicedt.graphic.model.PicObjectConstants
Collection of static methods for the PsTricks format
- Since:
- jPicEdt 1.3.2
- Version:
- $Id: PstricksUtilities.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PstricksUtilities
public PstricksUtilities()
getPsTricksColorName
public static java.lang.String getPsTricksColorName(java.awt.Color c)
getPsTricksColor
public static java.awt.Color getPsTricksColor(java.lang.String name)
toPstricksString
public static java.lang.String toPstricksString(jpicedt.graphic.model.Arrow arrow,
boolean rightArrow)
createPstricksStringFromArrows
public static java.lang.StringBuffer createPstricksStringFromArrows(jpicedt.graphic.model.Element obj)
createArrowsFromPstricksString
public static jpicedt.graphic.model.Arrow[] createArrowsFromPstricksString(java.lang.String str)
main
public static void main(java.lang.String[] arg)
- tester