PDFBuild

public enum PDFBuild

A collection of bits and pieces to create a PDF from a Song

Static defaults

  • A4 Portrait Page

    Declaration

    Swift

    public static let a4portraitPage = CGRect(x: 0, y: 0, width: 612, height: 792)
  • A4 Landscape Page

    Declaration

    Swift

    public static let a4landscapePage = CGRect(x: 0, y: 0, width: 792, height: 612)
  • The default padding for a page

    Declaration

    Swift

    public static let pagePadding: CGFloat = 40

A PDF background element

A PDF chords element

A PDF clip element

A PDF comment element

A PDF content item element

A PDF divider element

A PDF grid section element

A PDF image element

A PDF label element

A PDF lyrics section element

A PDF padding element

A PDF page background color element

A PDF page break element

A PDF page counter element

A PDF page header and footer element

A PDF plain section element

A PDF section element

A PDF song details element

A PDF spacer element

A PDF strum section element

A PDF TOC item element

A PDF tab section element

A PDF text element

A PDF textblock section element

The builder for PDFElement items

Information about the PDF document

Information about an item for the Table of Contents