Class AngleRuler
java.lang.Object
org.opensourcephysics.cabrillo.tracker.Ruler
org.opensourcephysics.cabrillo.tracker.AngleRuler
This draws ruled angle lines and labels for a Protractor.
- Author:
- Douglas Brown
-
Field Summary
Fields inherited from class org.opensourcephysics.cabrillo.tracker.Ruler
alpha, baseStrokes, colors, DASHED_LINE, dashedStroke, DEFAULT_LABEL_GAP, DEFAULT_LINE_GAP, DEFAULT_RULER_SIZE, format, handle, hitShapeVisible, insetPerLevel, labelGap, labelMarks, labelTransform, lineGap, lines, MAX_RULER_LINE_SPACING, MAX_RULER_SIZE, MIN_INSET_PER_LEVEL, MIN_RULER_LINE_SPACING, multiShapes, NUMBER_OF_LEVELS, previousAngle, previousDistFromLineEnd, previousLineSpacing, prevSigFigs, rulerLineSpacing, rulerSize, strokes, track, transform, utilityPoint, visible
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Mark
getMark
(TrackerPanel trackerPanel, int n) Gets the mark to draw for a given frame.Methods inherited from class org.opensourcephysics.cabrillo.tracker.Ruler
findInteractive, getAlpha, getColor, getFormattedValue, getHandle, getLineSpacing, getRulerSize, getScreenDistanceToBase, getStrokeWidth, isLeft, isVisible, refreshStrokes, setAlpha, setColor, setHandleXY, setHitShapeVisible, setLineSpacing, setRulerSize, setStrokeWidth, setVisible
-
Constructor Details
-
AngleRuler
Constructor.- Parameters:
protractor
- a Protractor
-
-
Method Details