Class MapPath2D

  • All Implemented Interfaces:
    java.awt.Shape, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    MapViewPath

    public class MapPath2D
    extends java.awt.geom.Path2D.Double
    An extension of Path2D with special methods for map positions.
    Since:
    10875
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.awt.geom.Path2D

        java.awt.geom.Path2D.Double, java.awt.geom.Path2D.Float
    • Field Summary

      • Fields inherited from class java.awt.geom.Path2D

        WIND_EVEN_ODD, WIND_NON_ZERO
    • Constructor Summary

      Constructors 
      Constructor Description
      MapPath2D()
      Create a new, empty path.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.awt.geom.Path2D.Double

        append, clone, curveTo, getBounds2D, getPathIterator, lineTo, moveTo, quadTo, transform, trimToSize
      • Methods inherited from class java.awt.geom.Path2D

        append, closePath, contains, contains, contains, contains, contains, contains, contains, contains, createTransformedShape, getBounds, getCurrentPoint, getPathIterator, getWindingRule, intersects, intersects, intersects, intersects, reset, setWindingRule
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait