Uses of Class
org.openstreetmap.josm.gui.draw.MapPath2D
-
Packages that use MapPath2D Package Description org.openstreetmap.josm.data.osm.visitor.paint Provides the classes for painting (rendering) OSM primitives on the map.org.openstreetmap.josm.gui.draw Provides GUI classes for 2D drawing in the map. -
-
Uses of MapPath2D in org.openstreetmap.josm.data.osm.visitor.paint
Fields in org.openstreetmap.josm.data.osm.visitor.paint declared as MapPath2D Modifier and Type Field Description protected MapPath2D
WireframeMapRenderer. currentPath
Path store to draw subsequent segments of same color as onePath
.Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type MapPath2D Modifier and Type Method Description protected void
WireframeMapRenderer. drawSegment(MapPath2D path, MapViewState.MapViewPoint mv1, MapViewState.MapViewPoint mv2, boolean showDirection)
Draw a line with the given color.void
ArrowPaintHelper. paintArrowAt(MapPath2D path, MapViewState.MapViewPoint point, MapViewState.MapViewPoint fromDirection)
Paint the arrow -
Uses of MapPath2D in org.openstreetmap.josm.gui.draw
Subclasses of MapPath2D in org.openstreetmap.josm.gui.draw Modifier and Type Class Description class
MapViewPath
This is a version of a java Path2D that allows you to add points to it by simply giving their east/north, lat/lon or node coordinates.Methods in org.openstreetmap.josm.gui.draw that return MapPath2D Modifier and Type Method Description MapPath2D
MapPath2D. lineTo(MapViewState.MapViewPoint p)
Draw a line to the view position of given pointMapPath2D
MapPath2D. moveTo(MapViewState.MapViewPoint p)
Move the path to the view position of given pointMapPath2D
MapPath2D. shapeAround(MapViewState.MapViewPoint p, SymbolShape symbol, double size)
Add the given shape centered around the given point
-