| Package | Description |
|---|---|
| org.openstreetmap.josm.gui.draw |
Provides GUI classes for 2D drawing in the map.
|
| org.openstreetmap.josm.gui.mappaint.styleelement.placement |
Label placement strategy for map paint styles.
|
| Modifier and Type | Field and Description |
|---|---|
private MapViewPath.PathSegmentConsumer |
MapViewPath.LineVisitor.consumer |
private MapViewPath.PathSegmentConsumer |
MapViewPath.ClampingPathVisitor.consumer |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MapViewPath.visitClippedLine(double strokeLength,
MapViewPath.PathSegmentConsumer consumer)
Visits all straight segments of this path.
|
boolean |
MapViewPath.visitClippedLine(java.awt.Stroke stroke,
MapViewPath.PathSegmentConsumer consumer)
Visits all straight segments of this path.
|
double |
MapViewPath.visitLine(MapViewPath.PathSegmentConsumer consumer)
Visits all segments of this path.
|
| Constructor and Description |
|---|
ClampingPathVisitor(MapViewState.MapViewRectangle clip,
double strokeLength,
MapViewPath.PathSegmentConsumer consumer)
Create a new
MapViewPath.ClampingPathVisitor |
LineVisitor(MapViewPath.PathSegmentConsumer consumer) |
| Modifier and Type | Class and Description |
|---|---|
private class |
OnLineStrategy.GlyphRotatingVisitor
Rotate the glyphs along a path.
|
private static class |
OnLineStrategy.UpsideComputingVisitor
A visitor that computes the side of the way that is the upper one for each segment and computes the dominant upper side of the way.
|