StaffConfiguration

public struct StaffConfiguration

Undocumented

  • Undocumented

    Declaration

    Swift

    public static var `default`: <<error type>>
  • Undocumented

    Declaration

    Swift

    public let staffSlotHeight: StaffSlotHeight
  • Undocumented

    Declaration

    Swift

    public let noteheadColor: Color
  • Undocumented

    Declaration

    Swift

    public let linesColor: Color
  • Undocumented

    Declaration

    Swift

    public let clefColor: Color
  • Undocumented

    Declaration

    Swift

    public let maskColor: Color
  • Undocumented

    Declaration

    Swift

    public init(
        staffSlotHeight: StaffSlotHeight = 12,
        noteheadColor: Color = Color(white: 0.25, alpha: 1),
        linesColor: Color = Color(white: 0.5, alpha: 1),
        clefColor: Color = Color(white: 0, alpha: 1),
        maskColor: Color = Color(white: 1, alpha: 1)
    )