Canvas draw library: Difference between revisions

Jump to navigation Jump to search
update: orientation parameter of marksLinear()
No edit summary
(update: orientation parameter of marksLinear())
Line 168: Line 168:
Draw marks for a linear scale on a canvas group, e.g. speed tape. Mark lines are draws perpendicular to baseline.
Draw marks for a linear scale on a canvas group, e.g. speed tape. Mark lines are draws perpendicular to baseline.


'''orientation''' of baseline, 0 = horizontal, 1 = vertical
'''orientation''' of baseline, "up", "down" (="vertical"), "left", "right" (="horizontal"), only first character is evaluated (u,d,v,l,r,h).


'''num_marks''' number of marks to draw
'''num_marks''' number of marks to draw
252

edits

Navigation menu