-
- Type Parameters:
T
- the type of the primitives to draw.
- All Known Implementing Classes:
AbstractGISEditableDrawer
,AbstractMapCircleDrawer
,AbstractMapMultiPointDrawer
,AbstractMapPointDrawer
,AbstractMapPolygonDrawer
,AbstractMapPolylineDrawer
,DeferredDrawer
,Ellipse2afpDrawer
,GisElementContainerDrawer
,GisLayerContainerDrawer
,MapCircleDrawer
,MapMultiPointDrawer
,MapPointDrawer
,MapPolygonDrawer
,MapPolylineDrawer
,MultiShape2afpDrawer
,Parallelogram2afpDrawer
,Path2afpDrawer
,Rectangle2afpDrawer
,RoadNetworkDrawer
,RoadPolylineDrawer
,RoundRectangle2afpDrawer
,Segment2afpDrawer
,Triangle2afpDrawer
public interface Drawer<T>
Draw of a primitive.- Since:
- 15.0
- Version:
- 17.0 2020-01-04 14:41:52
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- nodefx
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
draw(ZoomableGraphicsContext gc, T primitive)
Draw the given document primitives.Class<? extends T>
getPrimitiveType()
Replies the type of the primitives that could be drawn by this drawer.
-
-
-
Method Detail
-
draw
void draw(ZoomableGraphicsContext gc, T primitive)
Draw the given document primitives.- Parameters:
gc
- the graphics context that must be used for drawing.primitive
- the primitive to draw.
-
-