Package org.openstreetmap.josm.gui.draw
Interface MapViewPath.PathVisitor
- All Known Implementing Classes:
MapViewPath.AbstractMapPathVisitor,MapViewPath.ClampingPathVisitor,MapViewPath.LineVisitor,MapViewPath.OffsetPathVisitor
- Enclosing class:
- MapViewPath
private static interface MapViewPath.PathVisitor
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanvisit(Path2D.Double path) Append a path to this one.voidvoidvisitLineTo(double x, double y) voidvisitMoveTo(double x, double y)
-
Method Details
-
visit
Append a path to this one. The path is clipped to the current view.- Parameters:
path- The iterator- Returns:
- true if adding the path was successful.
-
visitClose
void visitClose() -
visitMoveTo
-
visitLineTo
-