StaffModel

public struct StaffModel : VerticalPlotModel

Todo

Inject transposition as instance property.
  • Todo

    In Swift 4, there are associated type constraints. These typealiases should be inferrable by the relationship betwen StaffModel and Clef.

    Declaration

    Swift

    public typealias Point = StaffPointModel
  • Undocumented

    Declaration

    Swift

    public typealias VerticalCoordinate = StaffSlot
  • Undocumented

    Declaration

    Swift

    public typealias HorizontalCoordinate = Double
  • Declaration

    Swift

    public typealias Entity = SpelledPitch
  • Declaration

    Swift

    public let verticalAxis: Clef
  • Undocumented

    Declaration

    Swift

    public let horizontalAxis: DefaultAxis<Double>
  • Declaration

    Swift

    public let points: [Double : [StaffPointModel]]
  • Createss a StaffModel with the given clef and the given points.

    Declaration

    Swift

    public init(clef: Clef = Clef(.treble), points: [Double: [StaffPointModel]])
  • Undocumented

    Declaration

    Swift

    public static var builder: Builder { get }
  • Undocumented

    See more

    Declaration

    Swift

    public final class Builder