Package org.jxmapviewer.viewer
Class DefaultWaypointRenderer
java.lang.Object
org.jxmapviewer.viewer.DefaultWaypointRenderer
- All Implemented Interfaces:
WaypointRenderer<Waypoint>
public class DefaultWaypointRenderer extends java.lang.Object implements WaypointRenderer<Waypoint>
This is a standard waypoint renderer.
-
Constructor Summary
Constructors Constructor Description DefaultWaypointRenderer()Uses a default waypoint image -
Method Summary
Modifier and Type Method Description voidpaintWaypoint(java.awt.Graphics2D g, JXMapViewer map, Waypoint w)paint the specified waypoint on the specified map and graphics context
-
Constructor Details
-
DefaultWaypointRenderer
public DefaultWaypointRenderer()Uses a default waypoint image
-
-
Method Details
-
paintWaypoint
Description copied from interface:WaypointRendererpaint the specified waypoint on the specified map and graphics context- Specified by:
paintWaypointin interfaceWaypointRenderer<Waypoint>- Parameters:
g- the graphics2D objectmap- the mapw- the waypoint
-