Package | Description |
---|---|
com.mxgraph.util.svg |
Modifier and Type | Method and Description |
---|---|
void |
DefaultErrorHandler.error(ParseException e)
Implements
ErrorHandler.error(ParseException) . |
void |
ErrorHandler.error(ParseException e)
Called when a parse error occurs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PathParser._parsel(boolean expectNumber) |
protected void |
PathParser._parseL(boolean expectNumber) |
void |
AWTPathProducer.arcAbs(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
|
void |
PathHandler.arcAbs(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
Invoked when an absolute elliptical arc command has been parsed.
|
void |
AWTPathProducer.arcRel(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
|
void |
PathHandler.arcRel(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
Invoked when a relative elliptical arc command has been parsed.
|
void |
AWTPathProducer.closePath()
Implements
PathHandler.closePath() . |
void |
PathHandler.closePath()
Invoked when a closepath has been parsed.
|
static Shape |
AWTPathProducer.createShape(String text,
int wr)
Utility method for creating an ExtendedGeneralPath.
|
static Shape |
AWTPolygonProducer.createShape(String text,
int wr)
Utility method for creating an ExtendedGeneralPath.
|
static Shape |
AWTPolylineProducer.createShape(String text,
int wr)
Utility method for creating an ExtendedGeneralPath.
|
void |
AWTPathProducer.curvetoCubicAbs(float x1,
float y1,
float x2,
float y2,
float x,
float y)
|
void |
PathHandler.curvetoCubicAbs(float x1,
float y1,
float x2,
float y2,
float x,
float y)
Invoked when an absolute cubic bezier curve command has been parsed.
|
void |
AWTPathProducer.curvetoCubicRel(float x1,
float y1,
float x2,
float y2,
float x,
float y)
|
void |
PathHandler.curvetoCubicRel(float x1,
float y1,
float x2,
float y2,
float x,
float y)
Invoked when a relative cubic bezier curve command has been parsed.
|
void |
AWTPathProducer.curvetoCubicSmoothAbs(float x2,
float y2,
float x,
float y)
|
void |
PathHandler.curvetoCubicSmoothAbs(float x2,
float y2,
float x,
float y)
Invoked when an absolute smooth cubic bezier curve command has
been parsed.
|
void |
AWTPathProducer.curvetoCubicSmoothRel(float x2,
float y2,
float x,
float y)
|
void |
PathHandler.curvetoCubicSmoothRel(float x2,
float y2,
float x,
float y)
Invoked when a relative smooth cubic bezier curve command has
been parsed.
|
void |
AWTPathProducer.curvetoQuadraticAbs(float x1,
float y1,
float x,
float y)
|
void |
PathHandler.curvetoQuadraticAbs(float x1,
float y1,
float x,
float y)
Invoked when an absolute quadratic bezier curve command has been parsed.
|
void |
AWTPathProducer.curvetoQuadraticRel(float x1,
float y1,
float x,
float y)
|
void |
PathHandler.curvetoQuadraticRel(float x1,
float y1,
float x,
float y)
Invoked when a relative quadratic bezier curve command has been parsed.
|
void |
AWTPathProducer.curvetoQuadraticSmoothAbs(float x,
float y)
|
void |
PathHandler.curvetoQuadraticSmoothAbs(float x,
float y)
Invoked when an absolute smooth quadratic bezier curve command
has been parsed.
|
void |
AWTPathProducer.curvetoQuadraticSmoothRel(float x,
float y)
|
void |
PathHandler.curvetoQuadraticSmoothRel(float x,
float y)
Invoked when a relative smooth quadratic bezier curve command
has been parsed.
|
protected abstract void |
AbstractParser.doParse()
Method responsible for actually parsing data after AbstractParser
has initialized itself.
|
protected void |
PathParser.doParse() |
protected void |
PointsParser.doParse()
Parses the current stream.
|
void |
AWTPathProducer.endPath()
Implements
PathHandler.endPath() . |
void |
PathHandler.endPath()
Invoked when the path ends.
|
void |
PointsHandler.endPoints()
Invoked when the points attribute ends.
|
void |
AWTPolygonProducer.endPoints()
Implements
PointsHandler.endPoints() . |
void |
AWTPolylineProducer.endPoints()
Implements
PointsHandler.endPoints() . |
void |
DefaultErrorHandler.error(ParseException e)
Implements
ErrorHandler.error(ParseException) . |
void |
ErrorHandler.error(ParseException e)
Called when a parse error occurs.
|
void |
AWTPathProducer.linetoAbs(float x,
float y)
Implements
PathHandler.linetoAbs(float,float) . |
void |
PathHandler.linetoAbs(float x,
float y)
Invoked when an absolute line command has been parsed.
|
void |
AWTPathProducer.linetoHorizontalAbs(float x)
Implements
PathHandler.linetoHorizontalAbs(float) . |
void |
PathHandler.linetoHorizontalAbs(float x)
Invoked when an horizontal absolute line command has been parsed.
|
void |
AWTPathProducer.linetoHorizontalRel(float x)
Implements
PathHandler.linetoHorizontalRel(float) . |
void |
PathHandler.linetoHorizontalRel(float x)
Invoked when an horizontal relative line command has been parsed.
|
void |
AWTPathProducer.linetoRel(float x,
float y)
Implements
PathHandler.linetoRel(float,float) . |
void |
PathHandler.linetoRel(float x,
float y)
Invoked when a relative line command has been parsed.
|
void |
AWTPathProducer.linetoVerticalAbs(float y)
Implements
PathHandler.linetoVerticalAbs(float) . |
void |
PathHandler.linetoVerticalAbs(float y)
Invoked when a vertical absolute line command has been parsed.
|
void |
AWTPathProducer.linetoVerticalRel(float y)
Implements
PathHandler.linetoVerticalRel(float) . |
void |
PathHandler.linetoVerticalRel(float y)
Invoked when a vertical relative line command has been parsed.
|
void |
AWTPathProducer.movetoAbs(float x,
float y)
Implements
PathHandler.movetoAbs(float,float) . |
void |
PathHandler.movetoAbs(float x,
float y)
Invoked when an absolute moveto command has been parsed.
|
void |
AWTPathProducer.movetoRel(float x,
float y)
Implements
PathHandler.movetoRel(float,float) . |
void |
PathHandler.movetoRel(float x,
float y)
Invoked when a relative moveto command has been parsed.
|
void |
Parser.parse(String s)
Parses the given string
|
void |
AbstractParser.parse(String s)
Parses the given string.
|
protected void |
PathParser.parsea()
Parses a 'a' command.
|
protected void |
PathParser.parseA()
Parses a 'A' command.
|
protected void |
PathParser.parsec()
Parses a 'c' command.
|
protected void |
PathParser.parseC()
Parses a 'C' command.
|
protected float |
NumberParser.parseFloat()
Parses the content of the buffer and converts it to a float.
|
protected void |
PathParser.parseh()
Parses a 'h' command.
|
protected void |
PathParser.parseH()
Parses a 'H' command.
|
protected void |
PathParser.parsel()
Parses a 'l' command.
|
protected void |
PathParser.parseL()
Parses a 'L' command.
|
protected void |
PathParser.parsem()
Parses a 'm' command.
|
protected void |
PathParser.parseM()
Parses a 'M' command.
|
protected void |
PathParser.parseq()
Parses a 'q' command.
|
protected void |
PathParser.parseQ()
Parses a 'Q' command.
|
protected void |
PathParser.parses()
Parses a 's' command.
|
protected void |
PathParser.parseS()
Parses a 'S' command.
|
protected void |
PathParser.parset()
Parses a 't' command.
|
protected void |
PathParser.parseT()
Parses a 'T' command.
|
protected void |
PathParser.parsev()
Parses a 'v' command.
|
protected void |
PathParser.parseV()
Parses a 'V' command.
|
void |
PointsHandler.point(float x,
float y)
Invoked when a point has been parsed.
|
void |
AWTPolylineProducer.point(float x,
float y)
Implements
PointsHandler.point(float,float) . |
protected void |
AbstractParser.reportError(String key,
Object[] args)
Signals an error to the error handler.
|
protected void |
PathParser.reportUnexpected(int ch) |
protected void |
PathParser.skipSubPath()
Skips a sub-path.
|
void |
AWTPathProducer.startPath()
Implements
PathHandler.startPath() . |
void |
PathHandler.startPath()
Invoked when the path starts.
|
void |
PointsHandler.startPoints()
Invoked when the points attribute starts.
|
void |
AWTPolylineProducer.startPoints()
Implements
PointsHandler.startPoints() . |
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.