Method Summary |
(package private) ArrayList<double[]> |
createPositions(int[][] pos,
double width,
boolean polygon)
Determines positions on the given curve where a caption could be drawn. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurveWalker
CurveWalker(Rectangle roi)
- Creates a new instance of
CurveWalker
. The region of interest (where
positions are actually needed, because they are visible) is specified by the given
Rectangle
.
- Parameters:
roi
- region of interest (visibile area)
createPositions
ArrayList<double[]> createPositions(int[][] pos,
double width,
boolean polygon)
- Determines positions on the given curve where a caption could be drawn. For each of these
positions, three candidates are produced; one on the line, one above of it and one below.
- Parameters:
pos
- width
- distance between single positions
- Returns:
- ArrayList containing positions
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net