Package net.sf.jaxodraw.io.imports
Class JaxoAxodraw4J
java.lang.Object
net.sf.jaxodraw.io.imports.JaxoAxodraw
net.sf.jaxodraw.io.imports.JaxoAxodraw4J
Extension to JaxoAxodraw that adds Bezier imports.
- Since:
- 2.0
-
Field Summary
Fields inherited from class net.sf.jaxodraw.io.imports.JaxoAxodraw
AMP, COLOR, DASH, DL_SEP, DOUBLE_LINE, FREQ_FROM_WIGGLES, LINE, PAINT_ARROW, REL_HEIGHT, REL_WIDTH, STROKE_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int[]
getEightInts
(String str) Returns the eight integers x1, y1,x2,y2,x3,y3,x4,y4 contained in a string of the form " # (x1, y1) (x2,y2) (x3,y3) (x4,y4) * " where * can be anything and # doesn't contain any parenthesis.protected int[]
getEightInts
(String str, int fromIndex) Returns the eight integers x1, y1,x2,y2,x3,y3,x4,y4 contained in a string of the form " # (x1, y1) (x2,y2) (x3,y3) (x4,y4) * " where * can be anything and # doesn't contain any parenthesis.getJaxoObject
(String newString) Returns a JaxoObject corresponding to a axodraw command.Methods inherited from class net.sf.jaxodraw.io.imports.JaxoAxodraw
addPackage, checkRequired, getArcBrackets, getArcPoints, getBBoxHeight, getColor, getComment, getFourInts, getFourInts, getLineParams, getLoopPars, getOneBrace, getOneBracket, getOneCurl, getPackages, getScaleFactor, getSixInts, getStroke, getT4Params, getThreeCurls, getTwoCurls, getTwoInts, getValid, newPLine, removePackage
-
Constructor Details
-
JaxoAxodraw4J
public JaxoAxodraw4J()Constructor: just calls super().
-
-
Method Details
-
getJaxoObject
Returns a JaxoObject corresponding to a axodraw command.- Overrides:
getJaxoObject
in classJaxoAxodraw
- Parameters:
newString
- One line of a latex file- Returns:
- A JaxoObject the corresponds to the axodraw command of the input line, or null, if nothing corresponds
-
getEightInts
Returns the eight integers x1, y1,x2,y2,x3,y3,x4,y4 contained in a string of the form " # (x1, y1) (x2,y2) (x3,y3) (x4,y4) * " where * can be anything and # doesn't contain any parenthesis.- Parameters:
str
- the String.- Returns:
- the eight ints.
-
getEightInts
Returns the eight integers x1, y1,x2,y2,x3,y3,x4,y4 contained in a string of the form " # (x1, y1) (x2,y2) (x3,y3) (x4,y4) * " where * can be anything and # doesn't contain any parenthesis.- Parameters:
str
- the String.fromIndex
- the index to start with.- Returns:
- the eight ints.
-