public class DefaultPointsHandler extends java.lang.Object implements PointsHandler
Modifier and Type | Field and Description |
---|---|
static DefaultPointsHandler |
INSTANCE
The only instance of this class.
|
Modifier | Constructor and Description |
---|---|
protected |
DefaultPointsHandler()
This class does not need to be instantiated.
|
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() . |
public static final DefaultPointsHandler INSTANCE
protected DefaultPointsHandler()
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.