Package Map

Class Compass

java.lang.Object
Map.Compass

public class Compass extends Object
Draws a compass given the rotation of the map in degrees.
Author:
David McLaren
  • Constructor Details

    • Compass

      public Compass()
  • Method Details

    • drawCompass

      public void drawCompass(Graphics2D g2d, MapRectProjector rectProj)
    • setMapRotationDegrees

      public void setMapRotationDegrees(double mapRotationDegrees)
    • setPanelWidth

      public void setPanelWidth(int panelWidth)