Last modified: October 27, 2015
In module gamera.toolkits.musicstaves.stafffinder
Represents a staff line as a skeleton, i.e. a one point thick continuous path. The positional information of the path is stored in the following public properties:
- left_x:
- left most x-position of the sekeleton
- y_list:
- list of subsequent y-positions from left to right
Consequently the right most x-position of the skeleton is left_x + len(y_list).
The constructor has no arguments. All values are accessed directly.
Converts to StafflineAverage.
Converts to StafflinePolygon. Not yet implemeted.
The parameter tolerance controls how accurate the polygonal approximation is.
Converts to StafflineSkeleton. Thus simply returns self.