Class AbstractMapMultiPointDrawer<T extends MapMultiPoint>

  • Type Parameters:
    T - the type of the map points.
    All Implemented Interfaces:
    Drawer<T>
    Direct Known Subclasses:
    MapMultiPointDrawer

    public abstract class AbstractMapMultiPointDrawer<T extends MapMultiPoint>
    extends AbstractGISEditableDrawer<T>
    Abstract drawer of a map multi-point.
    Since:
    15.0
    Version:
    17.0 2020-01-04 14:41:54
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.gis.ui
    Maven Artifact Id:
    giscorefx
    • Constructor Detail

      • AbstractMapMultiPointDrawer

        public AbstractMapMultiPointDrawer()
    • Method Detail

      • defineSmallRectangles

        protected void defineSmallRectangles​(ZoomableGraphicsContext gc,
                                             T element)
        Define a path that corresponds to the small rectangles around the points.

        Caution: this function does not call ZoomableGraphicsContext.beginPath(). You must call it yourself before the first call to this function.

        Parameters:
        gc - the graphics context that must be used for drawing.
        element - the map element.
      • defineBigRectangles

        protected void defineBigRectangles​(ZoomableGraphicsContext gc,
                                           T element)
        Define a path that corresponds to the big rectangles around a points.

        Caution: this function does not call ZoomableGraphicsContext.beginPath(). You must call it yourself before the first call to this function.

        Parameters:
        gc - the graphics context that must be used for drawing.
        element - the map element.