Package org.arakhne.afc.gis.ui.drawers
Class AbstractMapMultiPointDrawer<T extends MapMultiPoint>
- java.lang.Object
-
- org.arakhne.afc.gis.ui.drawers.AbstractGISEditableDrawer<T>
-
- org.arakhne.afc.gis.ui.drawers.AbstractMapMultiPointDrawer<T>
-
- 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 Summary
Constructors Constructor Description AbstractMapMultiPointDrawer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
defineBigRectangles(ZoomableGraphicsContext gc, T element)
Define a path that corresponds to the big rectangles around a points.protected void
defineSmallRectangles(ZoomableGraphicsContext gc, T element)
Define a path that corresponds to the small rectangles around the points.-
Methods inherited from class org.arakhne.afc.gis.ui.drawers.AbstractGISEditableDrawer
getDrawingColor, getDrawingColor, isSelected
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.arakhne.afc.nodefx.Drawer
draw, getPrimitiveType
-
-
-
-
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.
-
-