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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
visit(java.awt.geom.Path2D.Double path)
Append a path to this one.void
visitClose()
void
visitLineTo(double x, double y)
void
visitMoveTo(double x, double y)
-
-
-
Method Detail
-
visit
default boolean visit(java.awt.geom.Path2D.Double path)
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
void visitMoveTo(double x, double y)
-
visitLineTo
void visitLineTo(double x, double y)
-
-