Package org.arakhne.afc.gis.ui.drawers
Class MapPolygonDrawer
- java.lang.Object
-
- org.arakhne.afc.gis.ui.drawers.AbstractGISEditableDrawer<T>
-
- org.arakhne.afc.gis.ui.drawers.AbstractMapPolygonDrawer<MapPolygon>
-
- org.arakhne.afc.gis.ui.drawers.MapPolygonDrawer
-
- All Implemented Interfaces:
Drawer<MapPolygon>
public class MapPolygonDrawer extends AbstractMapPolygonDrawer<MapPolygon>
Drawer of a map polygon.- 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 MapPolygonDrawer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(ZoomableGraphicsContext gc, MapPolygon element)
Draw the given document primitives.Class<? extends MapPolygon>
getPrimitiveType()
Replies the type of the primitives that could be drawn by this drawer.-
Methods inherited from class org.arakhne.afc.gis.ui.drawers.AbstractMapPolygonDrawer
definePath
-
Methods inherited from class org.arakhne.afc.gis.ui.drawers.AbstractGISEditableDrawer
getDrawingColor, getDrawingColor, isSelected
-
-
-
-
Method Detail
-
getPrimitiveType
@Pure public Class<? extends MapPolygon> getPrimitiveType()
Description copied from interface:Drawer
Replies the type of the primitives that could be drawn by this drawer.- Returns:
- the type of the primitives.
-
draw
public void draw(ZoomableGraphicsContext gc, MapPolygon element)
Description copied from interface:Drawer
Draw the given document primitives.- Parameters:
gc
- the graphics context that must be used for drawing.element
- the primitive to draw.
-
-