Class AngleRuler

java.lang.Object
org.opensourcephysics.cabrillo.tracker.Ruler
org.opensourcephysics.cabrillo.tracker.AngleRuler

public class AngleRuler extends Ruler
This draws ruled angle lines and labels for a Protractor.
Author:
Douglas Brown
  • Constructor Details

    • AngleRuler

      public AngleRuler(Protractor protractor)
      Constructor.
      Parameters:
      protractor - a Protractor
  • Method Details

    • getMark

      protected Mark getMark(TrackerPanel trackerPanel, int n)
      Description copied from class: Ruler
      Gets the mark to draw for a given frame.
      Specified by:
      getMark in class Ruler
      Parameters:
      trackerPanel - the TrackerPanel to draw on
      n - the frame number
      Returns:
      the Mark