java.lang.Object
jpicedt.graphic.io.parser.AbstractRegularExpression
jpicedt.graphic.io.parser.SequenceExpression
jpicedt.graphic.io.parser.pstricks.PsRPutExpression
- All Implemented Interfaces:
- jpicedt.graphic.io.parser.ExpressionConstants
- public class PsRPutExpression
- extends jpicedt.graphic.io.parser.SequenceExpression
- implements jpicedt.graphic.io.parser.ExpressionConstants
\\rput[refpoint]{rotation}(x,y){stuff}
\\rput*[refpoint]{rotation}(x,y){stuff}
where :
- refpoint = B|b|t for vertical and l|r for horizontal (B = baseline), used only for psframebox and rel.
- rotation = any angle in degree or U,L,D,R,N,W,S or E.
- stuff = whatever ! (this allows in particular to rotate things)
Depending on the "stuff" found, instanciates :
- PicText : PsBoxExpression (psframebox, pscirclebox,...)
- PicPut : Non-recognized argument
[pending] instanciate other elements for rotation.
Fields inherited from interface jpicedt.graphic.io.parser.ExpressionConstants |
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 Summary |
PsRPutExpression(jpicedt.graphic.io.parser.LaTeXParser.Pool pl)
|
pool
private jpicedt.graphic.io.parser.LaTeXParser.Pool pool
vertAlign
private java.lang.String vertAlign
horAlign
private java.lang.String horAlign
rotation
private double rotation
rPutPoint
private jpicedt.graphic.PicPoint rPutPoint
hrArgument
private java.lang.StringBuffer hrArgument
RECTANGLE_BOX
public static final java.lang.String RECTANGLE_BOX
- See Also:
- Constant Field Values
CIRCLE_BOX
public static final java.lang.String CIRCLE_BOX
- See Also:
- Constant Field Values
OVAL_BOX
public static final java.lang.String OVAL_BOX
- See Also:
- Constant Field Values
PsRPutExpression
public PsRPutExpression(jpicedt.graphic.io.parser.LaTeXParser.Pool pl)
action
public void action(jpicedt.graphic.io.parser.ParserEvent e)
- called when this SequenceExpression was successfully parsed -> reinit locals for next time