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.
This class is used to visit the segments of this path.
- Since:
- 11147
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddLineBetween(double inLineOffset, MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, boolean startIsOldEnd) Add a line segment between two points
-
Method Details
-
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.
-