public class ArrowLinesLayer extends LinesLayer
_lineColorname, projection| Constructor and Description |
|---|
ArrowLinesLayer()
Constructor with default projection Mercator.
|
ArrowLinesLayer(Projection p,
String name) |
ArrowLinesLayer(String name)
Constructor with default projection Mercator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getArrowHeight()
Returns the arrow height in pixels
|
int |
getArrowSegmentLength()
Gets the arrow segment length
|
int |
getArrowWidth()
Gets the arrow width in pixels
|
protected void |
paintSegment(Graphics g,
Coord[] segment,
Tile tile)
Paints arrows on each segment.
|
void |
setArrowHeight(int arrowHeight)
Sets the arrow height
|
void |
setArrowSegmentLength(int arrowSegmentLength)
Sets the arrow segment length
|
void |
setArrowWidth(int arrowWidth)
Sets the arrow width
|
addLineSegment, boundingBox, lineColor, paintgetName, getProjectionpublic ArrowLinesLayer()
public ArrowLinesLayer(String name)
public ArrowLinesLayer(Projection p, String name)
protected void paintSegment(Graphics g, Coord[] segment, Tile tile)
paintSegment in class LinesLayerg - segment - tile - public int getArrowHeight()
public void setArrowHeight(int arrowHeight)
arrowHeight - public int getArrowSegmentLength()
public void setArrowSegmentLength(int arrowSegmentLength)
arrowSegmentLength - to setpublic int getArrowWidth()
public void setArrowWidth(int arrowWidth)
arrowWidth - to set