Package org.apache.batik.dom.svg
Class AbstractSVGPathSegList.PathSegListBuilder
- java.lang.Object
-
- org.apache.batik.parser.DefaultPathHandler
-
- org.apache.batik.dom.svg.AbstractSVGPathSegList.PathSegListBuilder
-
- All Implemented Interfaces:
PathHandler
- Enclosing class:
- AbstractSVGPathSegList
protected static class AbstractSVGPathSegList.PathSegListBuilder extends DefaultPathHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected ListHandlerlistHandler-
Fields inherited from class org.apache.batik.parser.DefaultPathHandler
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description PathSegListBuilder(ListHandler listHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidarcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)voidarcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)voidclosePath()ImplementsPathHandler.closePath().voidcurvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y)voidcurvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y)voidcurvetoCubicSmoothAbs(float x2, float y2, float x, float y)voidcurvetoCubicSmoothRel(float x2, float y2, float x, float y)voidcurvetoQuadraticAbs(float x1, float y1, float x, float y)voidcurvetoQuadraticRel(float x1, float y1, float x, float y)voidcurvetoQuadraticSmoothAbs(float x, float y)voidcurvetoQuadraticSmoothRel(float x, float y)voidendPath()ImplementsPathHandler.endPath().voidlinetoAbs(float x, float y)ImplementsPathHandler.linetoAbs(float,float).voidlinetoHorizontalAbs(float x)ImplementsPathHandler.linetoHorizontalAbs(float).voidlinetoHorizontalRel(float x)ImplementsPathHandler.linetoHorizontalRel(float).voidlinetoRel(float x, float y)ImplementsPathHandler.linetoRel(float,float).voidlinetoVerticalAbs(float y)ImplementsPathHandler.linetoVerticalAbs(float).voidlinetoVerticalRel(float y)ImplementsPathHandler.linetoVerticalRel(float).voidmovetoAbs(float x, float y)ImplementsPathHandler.movetoAbs(float,float).voidmovetoRel(float x, float y)ImplementsPathHandler.movetoRel(float,float).voidstartPath()ImplementsPathHandler.startPath().
-
-
-
Field Detail
-
listHandler
protected ListHandler listHandler
-
-
Constructor Detail
-
PathSegListBuilder
public PathSegListBuilder(ListHandler listHandler)
-
-
Method Detail
-
startPath
public void startPath() throws ParseExceptionImplementsPathHandler.startPath().- Specified by:
startPathin interfacePathHandler- Overrides:
startPathin classDefaultPathHandler- Throws:
ParseException- if an error occured while processing the path
-
endPath
public void endPath() throws ParseExceptionImplementsPathHandler.endPath().- Specified by:
endPathin interfacePathHandler- Overrides:
endPathin classDefaultPathHandler- Throws:
ParseException- if an error occured while processing the path
-
movetoRel
public void movetoRel(float x, float y) throws ParseExceptionImplementsPathHandler.movetoRel(float,float).- Specified by:
movetoRelin interfacePathHandler- Overrides:
movetoRelin classDefaultPathHandler- Parameters:
x- the relative x coordinate for the end pointy- the relative y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
movetoAbs
public void movetoAbs(float x, float y) throws ParseExceptionImplementsPathHandler.movetoAbs(float,float).- Specified by:
movetoAbsin interfacePathHandler- Overrides:
movetoAbsin classDefaultPathHandler- Parameters:
x- the absolute x coordinate for the end pointy- the absolute y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
closePath
public void closePath() throws ParseExceptionImplementsPathHandler.closePath().- Specified by:
closePathin interfacePathHandler- Overrides:
closePathin classDefaultPathHandler- Throws:
ParseException- if an error occured while processing the path
-
linetoRel
public void linetoRel(float x, float y) throws ParseExceptionImplementsPathHandler.linetoRel(float,float).- Specified by:
linetoRelin interfacePathHandler- Overrides:
linetoRelin classDefaultPathHandler- Parameters:
x- the relative x coordinates for the end pointy- the relative y coordinates for the end point- Throws:
ParseException- if an error occured while processing the path
-
linetoAbs
public void linetoAbs(float x, float y) throws ParseExceptionImplementsPathHandler.linetoAbs(float,float).- Specified by:
linetoAbsin interfacePathHandler- Overrides:
linetoAbsin classDefaultPathHandler- Parameters:
x- the absolute x coordinate for the end pointy- the absolute y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
linetoHorizontalRel
public void linetoHorizontalRel(float x) throws ParseExceptionImplementsPathHandler.linetoHorizontalRel(float).- Specified by:
linetoHorizontalRelin interfacePathHandler- Overrides:
linetoHorizontalRelin classDefaultPathHandler- Parameters:
x- the relative X coordinate of the end point- Throws:
ParseException- if an error occured while processing the path
-
linetoHorizontalAbs
public void linetoHorizontalAbs(float x) throws ParseExceptionImplementsPathHandler.linetoHorizontalAbs(float).- Specified by:
linetoHorizontalAbsin interfacePathHandler- Overrides:
linetoHorizontalAbsin classDefaultPathHandler- Parameters:
x- the absolute X coordinate of the end point- Throws:
ParseException- if an error occured while processing the path
-
linetoVerticalRel
public void linetoVerticalRel(float y) throws ParseExceptionImplementsPathHandler.linetoVerticalRel(float).- Specified by:
linetoVerticalRelin interfacePathHandler- Overrides:
linetoVerticalRelin classDefaultPathHandler- Parameters:
y- the relative Y coordinate of the end point- Throws:
ParseException- if an error occured while processing the path
-
linetoVerticalAbs
public void linetoVerticalAbs(float y) throws ParseExceptionImplementsPathHandler.linetoVerticalAbs(float).- Specified by:
linetoVerticalAbsin interfacePathHandler- Overrides:
linetoVerticalAbsin classDefaultPathHandler- Parameters:
y- the absolute Y coordinate of the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoCubicRel
public void curvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y) throws ParseException- Specified by:
curvetoCubicRelin interfacePathHandler- Overrides:
curvetoCubicRelin classDefaultPathHandler- Parameters:
x1- the relative x coordinate for the first control pointy1- the relative y coordinate for the first control pointx2- the relative x coordinate for the second control pointy2- the relative y coordinate for the second control pointx- the relative x coordinate for the end pointy- the relative y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoCubicAbs
public void curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y) throws ParseException- Specified by:
curvetoCubicAbsin interfacePathHandler- Overrides:
curvetoCubicAbsin classDefaultPathHandler- Parameters:
x1- the absolute x coordinate for the first control pointy1- the absolute y coordinate for the first control pointx2- the absolute x coordinate for the second control pointy2- the absolute y coordinate for the second control pointx- the absolute x coordinate for the end pointy- the absolute y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoCubicSmoothRel
public void curvetoCubicSmoothRel(float x2, float y2, float x, float y) throws ParseException- Specified by:
curvetoCubicSmoothRelin interfacePathHandler- Overrides:
curvetoCubicSmoothRelin classDefaultPathHandler- Parameters:
x2- the relative x coordinate for the second control pointy2- the relative y coordinate for the second control pointx- the relative x coordinate for the end pointy- the relative y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoCubicSmoothAbs
public void curvetoCubicSmoothAbs(float x2, float y2, float x, float y) throws ParseException- Specified by:
curvetoCubicSmoothAbsin interfacePathHandler- Overrides:
curvetoCubicSmoothAbsin classDefaultPathHandler- Parameters:
x2- the absolute x coordinate for the second control pointy2- the absolute y coordinate for the second control pointx- the absolute x coordinate for the end pointy- the absolute y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoQuadraticRel
public void curvetoQuadraticRel(float x1, float y1, float x, float y) throws ParseException- Specified by:
curvetoQuadraticRelin interfacePathHandler- Overrides:
curvetoQuadraticRelin classDefaultPathHandler- Parameters:
x1- the relative x coordinate for the control pointy1- the relative y coordinate for the control pointx- the relative x coordinate for the end pointy- the relative x coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoQuadraticAbs
public void curvetoQuadraticAbs(float x1, float y1, float x, float y) throws ParseException- Specified by:
curvetoQuadraticAbsin interfacePathHandler- Overrides:
curvetoQuadraticAbsin classDefaultPathHandler- Parameters:
x1- the absolute x coordinate for the control pointy1- the absolute y coordinate for the control pointx- the absolute x coordinate for the end pointy- the absolute x coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoQuadraticSmoothRel
public void curvetoQuadraticSmoothRel(float x, float y) throws ParseException- Specified by:
curvetoQuadraticSmoothRelin interfacePathHandler- Overrides:
curvetoQuadraticSmoothRelin classDefaultPathHandler- Parameters:
x- the relative x coordinate for the end pointy- the relative y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
curvetoQuadraticSmoothAbs
public void curvetoQuadraticSmoothAbs(float x, float y) throws ParseException- Specified by:
curvetoQuadraticSmoothAbsin interfacePathHandler- Overrides:
curvetoQuadraticSmoothAbsin classDefaultPathHandler- Parameters:
x- the absolute x coordinate for the end pointy- the absolute y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
arcRel
public void arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y) throws ParseException- Specified by:
arcRelin interfacePathHandler- Overrides:
arcRelin classDefaultPathHandler- Parameters:
rx- the X axis radius for the ellipsery- the Y axis radius for the ellipsexAxisRotation- the rotation angle in degrees for the ellipse's X-axis relative to the X-axislargeArcFlag- the value of the large-arc-flagsweepFlag- the value of the sweep-flagx- the relative x coordinate for the end pointy- the relative y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
arcAbs
public void arcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y) throws ParseException- Specified by:
arcAbsin interfacePathHandler- Overrides:
arcAbsin classDefaultPathHandler- Parameters:
rx- the X axis radius for the ellipsery- the Y axis radius for the ellipsexAxisRotation- the rotation angle in degrees for the ellipse's X-axis relative to the X-axislargeArcFlag- the value of the large-arc-flagsweepFlag- the value of the sweep-flagx- the absolute x coordinate for the end pointy- the absolute y coordinate for the end point- Throws:
ParseException- if an error occured while processing the path
-
-