| 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.
|
| Modifier and Type | Field and Description |
|---|---|
protected MapPath2D |
WireframeMapRenderer.currentPath
Path store to draw subsequent segments of same color as one
Path. |
| Modifier and Type | Method and 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
|
| Modifier and Type | Class and 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.
|
| Modifier and Type | Method and Description |
|---|---|
MapPath2D |
MapPath2D.lineTo(MapViewState.MapViewPoint p)
Draw a line to the view position of given point
|
MapPath2D |
MapPath2D.moveTo(MapViewState.MapViewPoint p)
Move the path to the view position of given point
|
MapPath2D |
MapPath2D.shapeAround(MapViewState.MapViewPoint p,
SymbolShape symbol,
double size)
Add the given shape centered around the given point
|