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(MapControlable 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)
MapLineableaddCoordinate in interface MapLineablepublic void render(MapControlable viewer)
Renderablerender in interface Renderablepublic java.lang.String toString()
toString in class java.lang.Object