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 betwenStaffModelandClef.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
StaffModelwith the givenclefand the givenpoints.Declaration
Swift
public init(clef: Clef = Clef(.treble), points: [Double: [StaffPointModel]])
Install in Dash
StaffModel Structure Reference