protected static class AbstractSVGPointList.PointsListBuilder extends java.lang.Object implements PointsHandler
PointsParser
and the
PointsHandler
.Modifier and Type | Field and Description |
---|---|
protected ListHandler |
listHandler
The
ListHandler to pass newly created SVGPointItem
objects to. |
Constructor and Description |
---|
PointsListBuilder(ListHandler listHandler)
Creates a new PointsListBuilder.
|
Modifier and Type | Method and Description |
---|---|
void |
endPoints()
Implements
PointsHandler.endPoints() . |
void |
point(float x,
float y)
Implements
PointsHandler.point(float,float) . |
void |
startPoints()
Implements
PointsHandler.startPoints() . |
protected ListHandler listHandler
ListHandler
to pass newly created SVGPointItem
objects to.public PointsListBuilder(ListHandler listHandler)
public void startPoints() throws ParseException
PointsHandler.startPoints()
.startPoints
in interface PointsHandler
ParseException
- if an error occured while processing the
pointspublic void point(float x, float y) throws ParseException
PointsHandler.point(float,float)
.point
in interface PointsHandler
x
- the x coordinate of the pointy
- the y coordinate of the pointParseException
- if an error occured while processing the
pointspublic void endPoints() throws ParseException
PointsHandler.endPoints()
.endPoints
in interface PointsHandler
ParseException
- if an error occured while processing the
pointsCopyright © 2022 Apache Software Foundation. All Rights Reserved.