|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.format.output.pstricks.PstricksUtilities
public class PstricksUtilities
Collection of static methods for the PsTricks format
Constructor Summary | |
---|---|
PstricksUtilities()
|
Method Summary | |
---|---|
static StyleConstants.ArrowStyle[] |
createArrowsFromPstricksString(String str)
|
static StringBuffer |
createPstricksStringFromArrows(Element obj)
|
static Color |
getPsTricksColor(String name)
Returns a Color object corresponding to the given PsTricks's colour name ; a null Color if none matches (in which case the caller might look up a table of user-defined colours to see if one matches) |
static String |
getPsTricksColorName(Color c,
PstricksFormatter factory)
Returns PsTricks's colour name from the given Color object; a null String if none matches (in which case the caller might define a new colour by using a \\newrgbcolor or a \\newgray command...) |
static void |
main(String[] arg)
Test |
static String |
toPstricksString(StyleConstants.ArrowStyle arrow,
ArrowView.Direction dir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PstricksUtilities()
Method Detail |
---|
public static String getPsTricksColorName(Color c, PstricksFormatter factory)
public static Color getPsTricksColor(String name)
public static String toPstricksString(StyleConstants.ArrowStyle arrow, ArrowView.Direction dir)
public static StringBuffer createPstricksStringFromArrows(Element obj)
public static StyleConstants.ArrowStyle[] createArrowsFromPstricksString(String str)
public static void main(String[] arg)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |