Builder
public class Builder
Undocumented
-
Creates a
StaffView.Builder
ready to represent the givenclef
, with the givenconfiguration
.Declaration
Swift
public init(clef: Clef, configuration: StaffConfiguration)
-
Creates an internal representation of the given
model
with the givenconfiguration
.Declaration
Swift
public init(model: StaffModel, configuration: StaffConfiguration)
-
Starts staff lines at the given position.
Declaration
Swift
public func startLines(at x: Double)
-
Stops staff lines at the given position.
Declaration
Swift
public func stopLines(at x: Double)
-
Adds the amount ledger lines
above
andbelow
at the givenposition
.Declaration
Swift
public func addLedgerLines(at position: Double, above: Int, below: Int)