neoscore.western.staff_fringe_layout
- class neoscore.western.staff_fringe_layout.StaffFringeLayout[source]
Bases:
object
Layout specification for a
Staff
fringe.Each field except
pos_x_in_staff
describes an X-axis position relative to the start of the staff’s live area. In flowables, that start point is typically the beginning of the flowableNewLine
. Outside flowables, that start point is the X-axis position of the staff.Since fringes extend to the left of this reference point, the values here will typically be negative.
- pos_x_in_staff: Unit
The staff position of the line where this fringe is placed.
In staves outside flowables, this will always be
ZERO
.
- __init__(pos_x_in_staff: ~neoscore.core.units.Unit, staff: ~neoscore.core.units.Unit, clef: ~neoscore.core.units.Unit, key_signature: ~neoscore.core.units.Unit, time_signature: ~neoscore.core.units.Unit = <factory>) None