public class SpacingShapeDecoration extends AbstractShapeDecoration
LEFT, RIGHT
Constructor and Description |
---|
SpacingShapeDecoration(float length)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics g,
java.awt.geom.Point2D[] points,
boolean complete)
Draws itself along the specified polyline Called by
ShapeDecorator
|
getLength, getOrientation, getPaint, getStroke, getWidth, restoreGraphics, revert, setGraphics, setLength, setOrientation, setPaint, setStroke, setWidth
public SpacingShapeDecoration(float length)
length
- public void draw(java.awt.Graphics g, java.awt.geom.Point2D[] points, boolean complete)
ShapeDecoration
points
- the polylinecomplete
- true if the polyline length equals the
decoration lengthShapeDecoration.draw(Graphics,
Point2D[], boolean)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details