Uses of Class
org.openstreetmap.josm.gui.draw.MapViewPath
-
Packages that use MapViewPath Package Description org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes
.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.org.openstreetmap.josm.gui.mappaint.styleelement.placement Label placement strategy for map paint styles. -
-
Uses of MapViewPath in org.openstreetmap.josm.actions.mapmode
Methods in org.openstreetmap.josm.actions.mapmode with parameters of type MapViewPath Modifier and Type Method Description protected void
ImproveWayAccuracyAction. drawIntersectingWayHelperLines(MapView mv, MapViewPath b)
-
Uses of MapViewPath in org.openstreetmap.josm.data.osm.visitor.paint
Methods in org.openstreetmap.josm.data.osm.visitor.paint that return MapViewPath Modifier and Type Method Description private MapViewPath
StyledMapRenderer. getPath(IWay<?> w)
private MapViewPath
StyledMapRenderer. shapeEastNorthToMapView(java.awt.geom.Path2D.Double shape)
Convert shape in EastNorth coordinates to MapViewPath and remove invisible parts.Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type MapViewPath Modifier and Type Method Description private void
StyledMapRenderer. computeFill(java.awt.Shape shape, java.lang.Float extent, MapViewPath pfClip, float mitterLimit)
Fill the given shape.private void
StyledMapRenderer. displaySegments(MapViewPath path, java.awt.geom.Path2D orientationArrows, java.awt.geom.Path2D onewayArrows, java.awt.geom.Path2D onewayArrowsCasing, java.awt.Color color, java.awt.BasicStroke line, java.awt.BasicStroke dashes, java.awt.Color dashedColor)
protected void
StyledMapRenderer. drawArea(MapViewPath area, java.awt.Color color, MapImage fillImage, java.lang.Float extent, MapViewPath pfClip, boolean disabled)
Worker function for drawing areas.private void
StyledMapRenderer. drawPathHighlight(MapViewPath path, java.awt.BasicStroke line)
highlights a given GeneralPath using the settings from BasicStroke to match the line's style.Method parameters in org.openstreetmap.josm.data.osm.visitor.paint with type arguments of type MapViewPath Modifier and Type Method Description private void
StyledMapRenderer. forEachPolygon(IPrimitive osm, java.util.function.Consumer<MapViewPath> consumer)
Calls a consumer for each path of the area shape- -
Uses of MapViewPath in org.openstreetmap.josm.gui.draw
Fields in org.openstreetmap.josm.gui.draw declared as MapViewPath Modifier and Type Field Description private MapViewPath
MapViewPath.OffsetPathVisitor. collector
Methods in org.openstreetmap.josm.gui.draw that return MapViewPath Modifier and Type Method Description MapViewPath
MapViewPath. append(java.lang.Iterable<? extends ILatLon> nodes, boolean connect)
Append a list of nodesMapViewPath
MapViewPath. appendClosed(java.lang.Iterable<? extends ILatLon> nodes, boolean connect)
Append a list of nodes as closed way.(package private) MapViewPath
MapViewPath.OffsetPathVisitor. getPath()
MapViewPath
MapViewPath. lineTo(EastNorth eastNorth)
Draw a line to the position.MapViewPath
MapViewPath. lineTo(ILatLon n)
Draw a line to the node.MapViewPath
MapViewPath. lineTo(MapViewState.MapViewPoint p)
MapViewPath
MapViewPath. moveTo(EastNorth eastNorth)
Move the cursor to the given position.MapViewPath
MapViewPath. moveTo(ILatLon n)
Move the cursor to the given node.MapViewPath
MapViewPath. moveTo(MapViewState.MapViewPoint p)
MapViewPath
MapViewPath. offset(double viewOffset)
Create a newMapViewPath
that is the same as the current one except that it is offset in the view.MapViewPath
MapViewPath. shapeAround(EastNorth eastNorth, SymbolShape symbol, double size)
Add the given shape centered around the current position.MapViewPath
MapViewPath. shapeAround(ILatLon p1, SymbolShape symbol, double size)
Add the given shape centered around the current node.MapViewPath
MapViewPath. shapeAround(MapViewState.MapViewPoint p, SymbolShape symbol, double size)
-
Uses of MapViewPath in org.openstreetmap.josm.gui.mappaint.styleelement.placement
Methods in org.openstreetmap.josm.gui.mappaint.styleelement.placement with parameters of type MapViewPath Modifier and Type Method Description MapViewPositionAndRotation
CompletelyInsideAreaStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)
MapViewPositionAndRotation
OnLineStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)
MapViewPositionAndRotation
PartiallyInsideAreaStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)
MapViewPositionAndRotation
PositionForAreaStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)
Finds the correct position of a label / icon inside the area.private static java.util.Optional<OnLineStrategy.HalfSegment>
OnLineStrategy. findOptimalWayPosition(java.awt.geom.Rectangle2D rect, MapViewPath path)
java.util.List<java.awt.font.GlyphVector>
OnLineStrategy. generateGlyphVectors(MapViewPath path, java.awt.geom.Rectangle2D nb, java.util.List<java.awt.font.GlyphVector> gvs, boolean isDoubleTranslationBug)
default java.util.List<java.awt.font.GlyphVector>
PositionForAreaStrategy. generateGlyphVectors(MapViewPath path, java.awt.geom.Rectangle2D nb, java.util.List<java.awt.font.GlyphVector> gvs, boolean isDoubleTranslationBug)
Generates the transformed glyph vectors for the given text.
-