java.lang.Object
org.apache.batik.parser.DefaultPathHandler
- All Implemented Interfaces:
- PathHandler
- Direct Known Subclasses:
- PathParserTest.TestHandler
- public class DefaultPathHandler
- extends java.lang.Object
- implements PathHandler
The class provides an adapter for PathHandler.
- Version:
- $Id: DefaultPathHandler.java,v 1.3 2004/08/18 07:14:46 vhardy Exp $
|
Constructor Summary |
protected |
DefaultPathHandler()
This class does not need to be instantiated. |
|
Method Summary |
void |
arcAbs(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
Implements PathHandler.arcAbs(float,float,float,boolean,boolean,float,float) 55 . |
void |
arcRel(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
Implements PathHandler.arcRel(float,float,float,boolean,boolean,float,float) 55 . |
void |
closePath()
Implements PathHandler.closePath() 55 . |
void |
curvetoCubicAbs(float x1,
float y1,
float x2,
float y2,
float x,
float y)
Implements PathHandler.curvetoCubicAbs(float,float,float,float,float,float) 55 . |
void |
curvetoCubicRel(float x1,
float y1,
float x2,
float y2,
float x,
float y)
Implements PathHandler.curvetoCubicRel(float,float,float,float,float,float) 55 . |
void |
curvetoCubicSmoothAbs(float x2,
float y2,
float x,
float y)
Implements PathHandler.curvetoCubicSmoothAbs(float,float,float,float) 55 . |
void |
curvetoCubicSmoothRel(float x2,
float y2,
float x,
float y)
Implements PathHandler.curvetoCubicSmoothRel(float,float,float,float) 55 . |
void |
curvetoQuadraticAbs(float x1,
float y1,
float x,
float y)
Implements PathHandler.curvetoQuadraticAbs(float,float,float,float) 55 . |
void |
curvetoQuadraticRel(float x1,
float y1,
float x,
float y)
Implements PathHandler.curvetoQuadraticRel(float,float,float,float) 55 . |
void |
curvetoQuadraticSmoothAbs(float x,
float y)
Implements PathHandler.curvetoQuadraticSmoothAbs(float,float) 55 . |
void |
curvetoQuadraticSmoothRel(float x,
float y)
Implements PathHandler.curvetoQuadraticSmoothRel(float,float) 55 . |
void |
endPath()
Implements PathHandler.endPath() 55 . |
void |
linetoAbs(float x,
float y)
Implements PathHandler.linetoAbs(float,float) 55 . |
void |
linetoHorizontalAbs(float x)
Implements PathHandler.linetoHorizontalAbs(float) 55 . |
void |
linetoHorizontalRel(float x)
Implements PathHandler.linetoHorizontalRel(float) 55 . |
void |
linetoRel(float x,
float y)
Implements PathHandler.linetoRel(float,float) 55 . |
void |
linetoVerticalAbs(float y)
Implements PathHandler.linetoVerticalAbs(float) 55 . |
void |
linetoVerticalRel(float y)
Implements PathHandler.linetoVerticalRel(float) 55 . |
void |
movetoAbs(float x,
float y)
Implements PathHandler.movetoAbs(float,float) 55 . |
void |
movetoRel(float x,
float y)
Implements PathHandler.movetoRel(float,float) 55 . |
void |
startPath()
Implements PathHandler.startPath() 55 . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final PathHandler INSTANCE
- The only instance of this class.
DefaultPathHandler
protected DefaultPathHandler()
- This class does not need to be instantiated.
startPath
public void startPath()
throws ParseException
- Implements
PathHandler.startPath() 55 .
- Specified by:
startPath in interface PathHandler
endPath
public void endPath()
throws ParseException
- Implements
PathHandler.endPath() 55 .
- Specified by:
endPath in interface PathHandler
movetoRel
public void movetoRel(float x,
float y)
throws ParseException
- Implements
PathHandler.movetoRel(float,float) 55 .
- Specified by:
movetoRel in interface PathHandler
movetoAbs
public void movetoAbs(float x,
float y)
throws ParseException
- Implements
PathHandler.movetoAbs(float,float) 55 .
- Specified by:
movetoAbs in interface PathHandler
closePath
public void closePath()
throws ParseException
- Implements
PathHandler.closePath() 55 .
- Specified by:
closePath in interface PathHandler
linetoRel
public void linetoRel(float x,
float y)
throws ParseException
- Implements
PathHandler.linetoRel(float,float) 55 .
- Specified by:
linetoRel in interface PathHandler
linetoAbs
public void linetoAbs(float x,
float y)
throws ParseException
- Implements
PathHandler.linetoAbs(float,float) 55 .
- Specified by:
linetoAbs in interface PathHandler
linetoHorizontalRel
public void linetoHorizontalRel(float x)
throws ParseException
- Implements
PathHandler.linetoHorizontalRel(float) 55 .
- Specified by:
linetoHorizontalRel in interface PathHandler
linetoHorizontalAbs
public void linetoHorizontalAbs(float x)
throws ParseException
- Implements
PathHandler.linetoHorizontalAbs(float) 55 .
- Specified by:
linetoHorizontalAbs in interface PathHandler
linetoVerticalRel
public void linetoVerticalRel(float y)
throws ParseException
- Implements
PathHandler.linetoVerticalRel(float) 55 .
- Specified by:
linetoVerticalRel in interface PathHandler
linetoVerticalAbs
public void linetoVerticalAbs(float y)
throws ParseException
- Implements
PathHandler.linetoVerticalAbs(float) 55 .
- Specified by:
linetoVerticalAbs in interface PathHandler
curvetoCubicRel
public void curvetoCubicRel(float x1,
float y1,
float x2,
float y2,
float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoCubicRel(float,float,float,float,float,float) 55 .
- Specified by:
curvetoCubicRel in interface PathHandler
curvetoCubicAbs
public void curvetoCubicAbs(float x1,
float y1,
float x2,
float y2,
float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoCubicAbs(float,float,float,float,float,float) 55 .
- Specified by:
curvetoCubicAbs in interface PathHandler
curvetoCubicSmoothRel
public void curvetoCubicSmoothRel(float x2,
float y2,
float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoCubicSmoothRel(float,float,float,float) 55 .
- Specified by:
curvetoCubicSmoothRel in interface PathHandler
curvetoCubicSmoothAbs
public void curvetoCubicSmoothAbs(float x2,
float y2,
float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoCubicSmoothAbs(float,float,float,float) 55 .
- Specified by:
curvetoCubicSmoothAbs in interface PathHandler
curvetoQuadraticRel
public void curvetoQuadraticRel(float x1,
float y1,
float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoQuadraticRel(float,float,float,float) 55 .
- Specified by:
curvetoQuadraticRel in interface PathHandler
curvetoQuadraticAbs
public void curvetoQuadraticAbs(float x1,
float y1,
float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoQuadraticAbs(float,float,float,float) 55 .
- Specified by:
curvetoQuadraticAbs in interface PathHandler
curvetoQuadraticSmoothRel
public void curvetoQuadraticSmoothRel(float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoQuadraticSmoothRel(float,float) 55 .
- Specified by:
curvetoQuadraticSmoothRel in interface PathHandler
curvetoQuadraticSmoothAbs
public void curvetoQuadraticSmoothAbs(float x,
float y)
throws ParseException
- Implements
PathHandler.curvetoQuadraticSmoothAbs(float,float) 55 .
- Specified by:
curvetoQuadraticSmoothAbs in interface PathHandler
arcRel
public void arcRel(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
throws ParseException
- Implements
PathHandler.arcRel(float,float,float,boolean,boolean,float,float) 55 .
- Specified by:
arcRel in interface PathHandler
arcAbs
public void arcAbs(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
throws ParseException
- Implements
PathHandler.arcAbs(float,float,float,boolean,boolean,float,float) 55 .
- Specified by:
arcAbs in interface PathHandler