Builder

public final class Builder

Undocumented

  • Creates a BeamsRenderer ready to receive commands in order to render beams.

    Declaration

    Swift

    public init(configuration: Configuration)
  • Start a beam at the given horizontal position, on the given level.

    Declaration

    Swift

    public func startBeam(at x: Double, on level: Int)
  • Stop the beam at the given horizontal position, on the given level.

    Declaration

    Swift

    public func stopBeam(at x: Double, on level: Int)
  • Add a beamlet at the given x, on the given level, going the given direction.

    Declaration

    Swift

    public func addBeamlet(
        at x: Double,
        on level: Int,
        direction: Beaming.BeamletDirection
    )
  • Add all of the nececessary components for the given rhythmSpelling at the given positions.

    Declaration

    Swift

    public func prepare(_ beaming: Beaming, at positions: [Double])
  • Undocumented

    Declaration

    Swift

    public func build() -> BeamsView