RenderView

struct RenderView: View

Render a Song structure into a SwiftUI View

Render a Song structure into a SwiftUI View

Verse

Chorus

Tab

Grid

Textblock

Comment

Strum

Image

Parts

Render a Song structure into a SwiftUI View

  • Get flush from the arguments

    Declaration

    Swift

    func getFlush(_ arguments: ChordProParser.Arguments?) -> HorizontalAlignment

    Parameters

    arguments

    The arguments of the directive

    Return Value

    The flush alignment

  • Get alignment from the arguments

    Declaration

    Swift

    func getAlign(_ arguments: ChordProParser.Arguments?) -> Alignment

    Parameters

    arguments

    The arguments of the directive

    Return Value

    The alignment