jpicedt.format.input.pstricks
Class PSTParametersExpression
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.RepeatExpression
jpicedt.format.input.pstricks.PSTParametersExpression
public class PSTParametersExpression
- extends RepeatExpression
PsTricks graphics parameters, e.g. "linewidth=5pt, fillcolor=blue,..." (no leading, nor trailing brackets,
these should be added to an enclosing expression)
Currently supported parameters :
- xunit, yunit, runit, unit
- linestyle=xxx
- linewidth=xxx (with unit) + dash'n dot parameters
- linecolor=xxx (may be a native PsTrick colour, see predefined colours in PsTricksFormater, OR a user-defined colours)
- fillstyle=xxx
- fillcolor=xxx (same note as for linecolor)
- shadow parameters
- hatch parameters.
Depending on the value of "attributeSetKey" given to the constructor,
these parameters may act on the attribute set of the current Element (in the Pool), or on another
attribute set (for instance, PsTricks's registers).
- Version:
- $Id: PSTParametersExpression.java,v 1.9 2013/03/31 06:55:14 vincentb1 Exp $
- Author:
- Sylvain Reynal
PSTParametersExpression
public PSTParametersExpression(Pool pool,
Pool.Key<PicAttributeSet> attributeSetKey)
- Parameters:
pool
- parser's poolattributeSetKey
- used to fetch the attribute set in which parsed parameters are stored.
toString
public String toString()
- Overrides:
toString
in class RepeatExpression
Submit a bug : syd@jpicedt.org