Package org.openstreetmap.josm.gui.draw
Interface MapViewPath.PathSegmentConsumer
-
- All Known Implementing Classes:
OnLineStrategy.GlyphRotatingVisitor
,OnLineStrategy.UpsideComputingVisitor
- Enclosing class:
- MapViewPath
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface MapViewPath.PathSegmentConsumer
This class is used to visit the segments of this path.- Since:
- 11147
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLineBetween(double inLineOffset, MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, boolean startIsOldEnd)
Add a line segment between two points
-
-
-
Method Detail
-
addLineBetween
void addLineBetween(double inLineOffset, MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, boolean startIsOldEnd)
Add a line segment between two points- Parameters:
inLineOffset
- The offset of start in the linestart
- The start pointend
- The end pointstartIsOldEnd
- If the start point equals the last end point.
-
-