wsj lab:: horizontal ruler
ruler version: 1.1 alpha
created by: Wei-Sing Jeng (of course)
last updated: Aug. 13, 2007
- drawHRuler(maxHeight, baseUnit, tagUnit, color, markPosX, tagPosX): this creates the objects to form the ruler
- removeHRuler(): to actually remove the objects which form the ruler from the memory
- showHRuler(): set those objects which form the ruler visible
- hideHRuler(): hide those objects which form the ruler but not actually remove them from the memory
Memo:
This only creates the vertical ruler. Before you call the show/hide-Ruler functions, you must first
call the drawHRuler once.