public class PSTColorExpression extends SequenceExpression
If no pstricks's native colour matches the RHS, we fetch a HashMap from the Pool's hashtable (value associated with key PstricksParser.KEY_USER_COLOURS) and look up the given colour ; this HashMap may've been filled by UserDefinedColorExpression in the course of the parsing process.
ANY_CHAR, ANY_CHAR_EOL, ANY_SIGN, AT_LEAST, AT_MOST, DEBUG, DOUBLE, EOL, EXACTLY, INTEGER, NEGATIVE, NON_NULL, POSITIVE, STRICTLY_NEGATIVE, STRICTLY_POSITIVE, WHITE_SPACES, WHITE_SPACES_OR_EOL
Constructor and Description |
---|
PSTColorExpression(Pool pl,
java.lang.String tag,
PicAttributeName attributeName,
Pool.Key attributeSetKey) |
add, interpret, toString
action
public PSTColorExpression(Pool pl, java.lang.String tag, PicAttributeName attributeName, Pool.Key attributeSetKey)
pl
- parser's pooltag
- LHS tag (e.g. "linecolor" or "fillcolor") for the StatementExpressionattribute
- name of attribute to modify (must be a predefined PicAttributeName of type "Color")attributeSetKey
- used to fetch the attribute set in which parsed parameters are stored.Submit a bug : syd@jpicedt.org