Package com.mxgraph.util.svg
Interface PointsHandler
- All Known Implementing Classes:
AWTPolygonProducer
,AWTPolylineProducer
public interface PointsHandler
This interface must be implemented and then registred as the
handler of a
PointsParser
instance in order to be
notified of parsing events.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the points attribute ends.void
point
(float x, float y) Invoked when a point has been parsed.void
Invoked when the points attribute starts.
-
Method Details
-
startPoints
Invoked when the points attribute starts.- Throws:
ParseException
- if an error occured while processing the points
-
point
Invoked 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
Invoked when the points attribute ends.- Throws:
ParseException
- if an error occured while processing the points
-