java.lang.Object
jpicedt.graphic.io.parser.AbstractRegularExpression
jpicedt.graphic.io.parser.SequenceExpression
jpicedt.format.latex.parser.PicBezierExpression
- All Implemented Interfaces:
- jpicedt.graphic.io.parser.ExpressionConstants
- public class PicBezierExpression
- extends jpicedt.graphic.io.parser.SequenceExpression
- implements jpicedt.graphic.io.parser.ExpressionConstants
Rules for parsing quad curves with a PicEdt syntax :
PicBezier :
%Bezier 0|1 0|1 (x1,y1)(xC,yC)(x2,y2) dash=value
Any string
%End Bezier
dash is optional. The whole expression MUST hold on a single line (as opposed to LaTeX or eepic commands)
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 |
PicBezierExpression
public PicBezierExpression(jpicedt.graphic.io.parser.Pool pool)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null
, string concatenation will instead
use "null"
.
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode())
.