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 voidImproveWayAccuracyAction. 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 MapViewPathStyledMapRenderer. getPath(IWay<?> w)private MapViewPathStyledMapRenderer. 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 voidStyledMapRenderer. computeFill(java.awt.Shape shape, java.lang.Float extent, MapViewPath pfClip, float mitterLimit)Fill the given shape.private voidStyledMapRenderer. 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 voidStyledMapRenderer. drawArea(MapViewPath area, java.awt.Color color, MapImage fillImage, java.lang.Float extent, MapViewPath pfClip, boolean disabled)Worker function for drawing areas.private voidStyledMapRenderer. 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 voidStyledMapRenderer. 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 MapViewPathMapViewPath.OffsetPathVisitor. collectorMethods in org.openstreetmap.josm.gui.draw that return MapViewPath Modifier and Type Method Description MapViewPathMapViewPath. append(java.lang.Iterable<? extends ILatLon> nodes, boolean connect)Append a list of nodesMapViewPathMapViewPath. appendClosed(java.lang.Iterable<? extends ILatLon> nodes, boolean connect)Append a list of nodes as closed way.(package private) MapViewPathMapViewPath.OffsetPathVisitor. getPath()MapViewPathMapViewPath. lineTo(EastNorth eastNorth)Draw a line to the position.MapViewPathMapViewPath. lineTo(ILatLon n)Draw a line to the node.MapViewPathMapViewPath. lineTo(MapViewState.MapViewPoint p)MapViewPathMapViewPath. moveTo(EastNorth eastNorth)Move the cursor to the given position.MapViewPathMapViewPath. moveTo(ILatLon n)Move the cursor to the given node.MapViewPathMapViewPath. moveTo(MapViewState.MapViewPoint p)MapViewPathMapViewPath. offset(double viewOffset)Create a newMapViewPaththat is the same as the current one except that it is offset in the view.MapViewPathMapViewPath. shapeAround(EastNorth eastNorth, SymbolShape symbol, double size)Add the given shape centered around the current position.MapViewPathMapViewPath. shapeAround(ILatLon p1, SymbolShape symbol, double size)Add the given shape centered around the current node.MapViewPathMapViewPath. 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 MapViewPositionAndRotationCompletelyInsideAreaStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)MapViewPositionAndRotationOnLineStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)MapViewPositionAndRotationPartiallyInsideAreaStrategy. findLabelPlacement(MapViewPath path, java.awt.geom.Rectangle2D nb)MapViewPositionAndRotationPositionForAreaStrategy. 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.
-