Package org.apache.batik.parser
Interface PointsHandler
-
- All Known Implementing Classes:
AbstractSVGPointList.PointsListBuilder,AWTPolygonProducer,AWTPolylineProducer,DefaultPointsHandler,FloatArrayProducer
public interface PointsHandlerThis interface must be implemented and then registred as the handler of aPointsParserinstance in order to be notified of parsing events.- Version:
- $Id: PointsHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendPoints()Invoked when the points attribute ends.voidpoint(float x, float y)Invoked when a point has been parsed.voidstartPoints()Invoked when the points attribute starts.
-
-
-
Method Detail
-
startPoints
void startPoints() throws ParseExceptionInvoked when the points attribute starts.- Throws:
ParseException- if an error occured while processing the points
-
point
void point(float x, float y) throws ParseExceptionInvoked when a point has been parsed.- Parameters:
x- the x coordinate of the pointy- the y coordinate of the point- Throws:
ParseException- if an error occured while processing the points
-
endPoints
void endPoints() throws ParseExceptionInvoked when the points attribute ends.- Throws:
ParseException- if an error occured while processing the points
-
-