public class MapPath2D extends java.awt.geom.Path2D.Double
Path2D with special methods for map positions.| Constructor and Description |
|---|
MapPath2D()
Create a new, empty path.
|
| Modifier and Type | Method and Description |
|---|---|
MapPath2D |
lineTo(MapViewState.MapViewPoint p)
Draw a line to the view position of given point
|
MapPath2D |
moveTo(MapViewState.MapViewPoint p)
Move the path to the view position of given point
|
MapPath2D |
shapeAround(MapViewState.MapViewPoint p,
SymbolShape symbol,
double size)
Add the given shape centered around the given point
|
append, clone, curveTo, getBounds2D, getPathIterator, lineTo, moveTo, quadTo, transformappend, closePath, contains, contains, contains, contains, contains, contains, contains, contains, createTransformedShape, getBounds, getCurrentPoint, getPathIterator, getWindingRule, intersects, intersects, intersects, intersects, reset, setWindingRulepublic MapPath2D()
public MapPath2D moveTo(MapViewState.MapViewPoint p)
p - The pointpublic MapPath2D lineTo(MapViewState.MapViewPoint p)
p - The pointpublic MapPath2D shapeAround(MapViewState.MapViewPoint p, SymbolShape symbol, double size)
p - The point to draw aroundsymbol - The symbol typesize - The size of the symbol in pixel