org.apache.batik.parser

Class DefaultPathHandler

public class DefaultPathHandler extends Object implements PathHandler

The class provides an adapter for PathHandler.
Field Summary
static PathHandlerINSTANCE
The only instance of this class.
Constructor Summary
protected DefaultPathHandler()
This class does not need to be instantiated.
Method Summary
voidarcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Implements PathHandler.
voidarcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Implements PathHandler.
voidclosePath()
Implements closePath.
voidcurvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y)
Implements PathHandler.
voidcurvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y)
Implements PathHandler.
voidcurvetoCubicSmoothAbs(float x2, float y2, float x, float y)
Implements PathHandler.
voidcurvetoCubicSmoothRel(float x2, float y2, float x, float y)
Implements PathHandler.
voidcurvetoQuadraticAbs(float x1, float y1, float x, float y)
Implements PathHandler.
voidcurvetoQuadraticRel(float x1, float y1, float x, float y)
Implements PathHandler.
voidcurvetoQuadraticSmoothAbs(float x, float y)
Implements PathHandler.
voidcurvetoQuadraticSmoothRel(float x, float y)
Implements PathHandler.
voidendPath()
Implements endPath.
voidlinetoAbs(float x, float y)
Implements PathHandler.
voidlinetoHorizontalAbs(float x)
Implements PathHandler.
voidlinetoHorizontalRel(float x)
Implements PathHandler.
voidlinetoRel(float x, float y)
Implements PathHandler.
voidlinetoVerticalAbs(float y)
Implements PathHandler.
voidlinetoVerticalRel(float y)
Implements PathHandler.
voidmovetoAbs(float x, float y)
Implements PathHandler.
voidmovetoRel(float x, float y)
Implements PathHandler.
voidstartPath()
Implements startPath.

Field Detail

INSTANCE

public static final PathHandler INSTANCE
The only instance of this class.

Constructor Detail

DefaultPathHandler

protected DefaultPathHandler()
This class does not need to be instantiated.

Method Detail

arcAbs

public void arcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Implements PathHandler.

arcRel

public void arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Implements PathHandler.

closePath

public void closePath()
Implements closePath.

curvetoCubicAbs

public void curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y)
Implements PathHandler.

curvetoCubicRel

public void curvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y)
Implements PathHandler.

curvetoCubicSmoothAbs

public void curvetoCubicSmoothAbs(float x2, float y2, float x, float y)
Implements PathHandler.

curvetoCubicSmoothRel

public void curvetoCubicSmoothRel(float x2, float y2, float x, float y)
Implements PathHandler.

curvetoQuadraticAbs

public void curvetoQuadraticAbs(float x1, float y1, float x, float y)
Implements PathHandler.

curvetoQuadraticRel

public void curvetoQuadraticRel(float x1, float y1, float x, float y)
Implements PathHandler.

curvetoQuadraticSmoothAbs

public void curvetoQuadraticSmoothAbs(float x, float y)
Implements PathHandler.

curvetoQuadraticSmoothRel

public void curvetoQuadraticSmoothRel(float x, float y)
Implements PathHandler.

endPath

public void endPath()
Implements endPath.

linetoAbs

public void linetoAbs(float x, float y)
Implements PathHandler.

linetoHorizontalAbs

public void linetoHorizontalAbs(float x)
Implements PathHandler.

linetoHorizontalRel

public void linetoHorizontalRel(float x)
Implements PathHandler.

linetoRel

public void linetoRel(float x, float y)
Implements PathHandler.

linetoVerticalAbs

public void linetoVerticalAbs(float y)
Implements PathHandler.

linetoVerticalRel

public void linetoVerticalRel(float y)
Implements PathHandler.

movetoAbs

public void movetoAbs(float x, float y)
Implements PathHandler.

movetoRel

public void movetoRel(float x, float y)
Implements PathHandler.

startPath

public void startPath()
Implements startPath.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.