public class DefaultMapLine extends java.lang.Object implements MapLineable
Constructor and Description |
---|
DefaultMapLine(java.util.List<Coordinate> coordinates) |
DefaultMapLine(java.lang.String n,
javafx.scene.paint.Color c,
double width,
double dashOffset,
java.util.List<Coordinate> coords) |
Modifier and Type | Method and Description |
---|---|
void |
addCoordinate(Coordinate coordinate)
Add Coordinate to the map Line.
|
void |
render(MapTilesourceable viewer)
Paints the map marker on the map.
|
java.lang.String |
toString() |
public DefaultMapLine(java.util.List<Coordinate> coordinates)
public DefaultMapLine(java.lang.String n, javafx.scene.paint.Color c, double width, double dashOffset, java.util.List<Coordinate> coords)
public void addCoordinate(Coordinate coordinate)
MapLineable
addCoordinate
in interface MapLineable
public void render(MapTilesourceable viewer)
Renderable
render
in interface Renderable
public java.lang.String toString()
toString
in class java.lang.Object