Class QuickAnnotationOverlayDraw


public class QuickAnnotationOverlayDraw extends MarkOverlayDraw
  • Constructor Details

    • QuickAnnotationOverlayDraw

      public QuickAnnotationOverlayDraw(MarkDataBlock markDataBlock, MarkModule annotationModule)
  • Method Details

    • drawDataUnit

      public Rectangle drawDataUnit(Graphics g, PamDataUnit pamDataUnit, GeneralProjector generalProjector)
      Description copied from class: PamDetectionOverlayGraphics
      Draw a PamDataUnit on a display.

      This is split into separate routines for the three main display types for simplicity both of reading this code and for overriding the various functions.

      If display types are added to PAMGUARD, these functions will need to be added to.

      Overrides:
      drawDataUnit in class PamDetectionOverlayGraphics
      Parameters:
      g - Graphics handle to draw on
      pamDataUnit - PamDataUnit to draw
      generalProjector - Projector to use when drawing.
      Returns:
      A rectangle surrouding whatever has just been drawn.