Class PSTParametersExpression

  • All Implemented Interfaces:
    ExpressionConstants, PicObjectConstants

    public class PSTParametersExpression
    extends RepeatExpression
    implements PicObjectConstants
    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.5.2.1 2007/09/02 11:56:12 reynal Exp $

    Author:
    Sylvain Reynal
    • Constructor Detail

      • PSTParametersExpression

        public PSTParametersExpression​(Pool pool,
                                       Pool.Key attributeSetKey)
        Parameters:
        pool - parser's pool
        attributeSetKey - used to fetch the attribute set in which parsed parameters are stored.