|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.format.output.tikz.TikzUtilities
public class TikzUtilities
Collection de méthodes statiques pour le formatage TikZ.
Constructor Summary | |
---|---|
TikzUtilities()
|
Method Summary | |
---|---|
static void |
addUserDefinedColourDefinitions(StringBuffer buf,
ParameterString p,
TikzFormatter factory)
Ajoute les commandes \\definecolor{colourName}{rgb}{r,g,b}
au tampon buf passé en argument. |
static StringBuffer |
createArrowStringFromArrows(PicAttributeSet attributes,
TikzCustomization tikzCustomProperties,
boolean swapArrows)
|
static StringBuffer |
createDefaultParameterString(PicAttributeSet defaultAttributes,
TikzFormatter factory)
Returns a "\\psset{…}" buffer containing default parameters (useful if these differ from PsTricks's ones) This is very similar to createParameterString() except that a default attribute
set is used, and dimensional parameters are taken into account, for
which jPicEdt's default values slightly differ from PsTricks's default
(mostly due to the use of mm instead of postscript points as the basic
unit). |
static ParameterString |
createParameterString(Element obj,
PicAttributeSet defaultAttributes,
TikzCustomProperties tikzCustomProperties,
BitSet mask)
|
static Color |
getColor(String name,
TikzFormatter factory)
|
static String |
getColorName(Color c,
TikzFormatter factory)
|
static String |
toArrowString(StyleConstants.ArrowStyle arrow,
ArrowView.Direction dir,
TikzCustomization tikzCustomProperties)
Describe toArrowString method here. |
static TikzConstants.TZArrow |
toTZArrow(StyleConstants.ArrowStyle arrow)
Convertit un style de pointe de flèche ArrowStyle en
l'énumérer TZArrow correspondant décrivant son codage en
TikZ. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TikzUtilities()
Method Detail |
---|
public static void addUserDefinedColourDefinitions(StringBuffer buf, ParameterString p, TikzFormatter factory)
\\definecolor{colourName}{rgb}{r,g,b}
au tampon buf
passé en argument.
public static String getColorName(Color c, TikzFormatter factory)
public static Color getColor(String name, TikzFormatter factory)
public static TikzConstants.TZArrow toTZArrow(StyleConstants.ArrowStyle arrow)
ArrowStyle
en
l'énumérer TZArrow
correspondant décrivant son codage en
TikZ.
arrow
- une valeur ArrowStyle
) convertit en TZArrow
.
TZArrow
correspondant à arrow
.public static String toArrowString(StyleConstants.ArrowStyle arrow, ArrowView.Direction dir, TikzCustomization tikzCustomProperties)
toArrowString
method here.
arrow
- dir
- tikzCustomProperties
-
String
representation ofpublic static StringBuffer createArrowStringFromArrows(PicAttributeSet attributes, TikzCustomization tikzCustomProperties, boolean swapArrows)
PicAttributeSet
passé en argument.public static ParameterString createParameterString(Element obj, PicAttributeSet defaultAttributes, TikzCustomProperties tikzCustomProperties, BitSet mask)
public static StringBuffer createDefaultParameterString(PicAttributeSet defaultAttributes, TikzFormatter factory)
createParameterString()
except that a default attribute
set is used, and dimensional parameters are taken into account, for
which jPicEdt's default values slightly differ from PsTricks's default
(mostly due to the use of mm instead of postscript points as the basic
unit).
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |