protected static class AbstractSVGNormPathSegList.NormalizedPathSegListBuilder extends DefaultPathHandler
Modifier and Type | Field and Description |
---|---|
protected AbstractSVGNormPathSegList.SVGPathSegGenericItem |
lastAbs |
protected ListHandler |
listHandler |
INSTANCE
Constructor and Description |
---|
NormalizedPathSegListBuilder(ListHandler listHandler) |
Modifier and Type | Method and Description |
---|---|
void |
arcAbs(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
|
void |
arcRel(float rx,
float ry,
float xAxisRotation,
boolean largeArcFlag,
boolean sweepFlag,
float x,
float y)
|
void |
closePath()
Implements
PathHandler.closePath() . |
void |
curvetoCubicAbs(float x1,
float y1,
float x2,
float y2,
float x,
float y)
|
void |
curvetoCubicRel(float x1,
float y1,
float x2,
float y2,
float x,
float y)
|
void |
curvetoCubicSmoothAbs(float x2,
float y2,
float x,
float y)
|
void |
curvetoCubicSmoothRel(float x2,
float y2,
float x,
float y)
|
void |
curvetoQuadraticAbs(float x1,
float y1,
float x,
float y)
|
void |
curvetoQuadraticRel(float x1,
float y1,
float x,
float y)
|
void |
curvetoQuadraticSmoothAbs(float x,
float y)
|
void |
curvetoQuadraticSmoothRel(float x,
float y)
|
void |
endPath()
Implements
PathHandler.endPath() . |
void |
linetoAbs(float x,
float y)
Implements
PathHandler.linetoAbs(float,float) . |
void |
linetoHorizontalAbs(float x)
Implements
PathHandler.linetoHorizontalAbs(float) . |
void |
linetoHorizontalRel(float x)
Implements
PathHandler.linetoHorizontalRel(float) . |
void |
linetoRel(float x,
float y)
Implements
PathHandler.linetoRel(float,float) . |
void |
linetoVerticalAbs(float y)
Implements
PathHandler.linetoVerticalAbs(float) . |
void |
linetoVerticalRel(float y)
Implements
PathHandler.linetoVerticalRel(float) . |
void |
movetoAbs(float x,
float y)
Implements
PathHandler.movetoAbs(float,float) . |
void |
movetoRel(float x,
float y)
Implements
PathHandler.movetoRel(float,float) . |
void |
startPath()
Implements
PathHandler.startPath() . |
protected ListHandler listHandler
protected AbstractSVGNormPathSegList.SVGPathSegGenericItem lastAbs
public NormalizedPathSegListBuilder(ListHandler listHandler)
public void startPath() throws ParseException
PathHandler.startPath()
.startPath
in interface PathHandler
startPath
in class DefaultPathHandler
ParseException
- if an error occured while processing the pathpublic void endPath() throws ParseException
PathHandler.endPath()
.endPath
in interface PathHandler
endPath
in class DefaultPathHandler
ParseException
- if an error occured while processing the pathpublic void movetoRel(float x, float y) throws ParseException
PathHandler.movetoRel(float,float)
.movetoRel
in interface PathHandler
movetoRel
in class DefaultPathHandler
x
- the relative x coordinate for the end pointy
- the relative y coordinate for the end pointParseException
- if an error occured while processing the pathpublic void movetoAbs(float x, float y) throws ParseException
PathHandler.movetoAbs(float,float)
.movetoAbs
in interface PathHandler
movetoAbs
in class DefaultPathHandler
x
- the absolute x coordinate for the end pointy
- the absolute y coordinate for the end pointParseException
- if an error occured while processing the pathpublic void closePath() throws ParseException
PathHandler.closePath()
.closePath
in interface PathHandler
closePath
in class DefaultPathHandler
ParseException
- if an error occured while processing the pathpublic void linetoRel(float x, float y) throws ParseException
PathHandler.linetoRel(float,float)
.linetoRel
in interface PathHandler
linetoRel
in class DefaultPathHandler
x
- the relative x coordinates for the end pointy
- the relative y coordinates for the end pointParseException
- if an error occured while processing the pathpublic void linetoAbs(float x, float y) throws ParseException
PathHandler.linetoAbs(float,float)
.linetoAbs
in interface PathHandler
linetoAbs
in class DefaultPathHandler
x
- the absolute x coordinate for the end pointy
- the absolute y coordinate for the end pointParseException
- if an error occured while processing the pathpublic void linetoHorizontalRel(float x) throws ParseException
PathHandler.linetoHorizontalRel(float)
.linetoHorizontalRel
in interface PathHandler
linetoHorizontalRel
in class DefaultPathHandler
x
- the relative X coordinate of the end pointParseException
- if an error occured while processing the pathpublic void linetoHorizontalAbs(float x) throws ParseException
PathHandler.linetoHorizontalAbs(float)
.linetoHorizontalAbs
in interface PathHandler
linetoHorizontalAbs
in class DefaultPathHandler
x
- the absolute X coordinate of the end pointParseException
- if an error occured while processing the pathpublic void linetoVerticalRel(float y) throws ParseException
PathHandler.linetoVerticalRel(float)
.linetoVerticalRel
in interface PathHandler
linetoVerticalRel
in class DefaultPathHandler
y
- the relative Y coordinate of the end pointParseException
- if an error occured while processing the pathpublic void linetoVerticalAbs(float y) throws ParseException
PathHandler.linetoVerticalAbs(float)
.linetoVerticalAbs
in interface PathHandler
linetoVerticalAbs
in class DefaultPathHandler
y
- the absolute Y coordinate of the end pointParseException
- if an error occured while processing the pathpublic void curvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y) throws ParseException
curvetoCubicRel
in interface PathHandler
curvetoCubicRel
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y) throws ParseException
curvetoCubicAbs
in interface PathHandler
curvetoCubicAbs
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void curvetoCubicSmoothRel(float x2, float y2, float x, float y) throws ParseException
curvetoCubicSmoothRel
in interface PathHandler
curvetoCubicSmoothRel
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void curvetoCubicSmoothAbs(float x2, float y2, float x, float y) throws ParseException
curvetoCubicSmoothAbs
in interface PathHandler
curvetoCubicSmoothAbs
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void curvetoQuadraticRel(float x1, float y1, float x, float y) throws ParseException
curvetoQuadraticRel
in interface PathHandler
curvetoQuadraticRel
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void curvetoQuadraticAbs(float x1, float y1, float x, float y) throws ParseException
curvetoQuadraticAbs
in interface PathHandler
curvetoQuadraticAbs
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void curvetoQuadraticSmoothRel(float x, float y) throws ParseException
curvetoQuadraticSmoothRel
in interface PathHandler
curvetoQuadraticSmoothRel
in class DefaultPathHandler
x
- the relative x coordinate for the end pointy
- the relative y coordinate for the end pointParseException
- if an error occured while processing the pathpublic void curvetoQuadraticSmoothAbs(float x, float y) throws ParseException
curvetoQuadraticSmoothAbs
in interface PathHandler
curvetoQuadraticSmoothAbs
in class DefaultPathHandler
x
- the absolute x coordinate for the end pointy
- the absolute y coordinate for the end pointParseException
- if an error occured while processing the pathpublic void arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y) throws ParseException
arcRel
in interface PathHandler
arcRel
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathpublic void arcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y) throws ParseException
arcAbs
in interface PathHandler
arcAbs
in class DefaultPathHandler
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 pointParseException
- if an error occured while processing the pathCopyright © 2022 Apache Software Foundation. All Rights Reserved.