TextblockSection

class TextblockSection: PDFElement

A PDF textblock section element

  • The section with textblock

    Declaration

    Swift

    let section: Song.Section
  • Init the textblock section element

    Declaration

    Swift

    init(_ section: Song.Section)

    Parameters

    section

    The section with textblock

  • Draw the textblock section element

    Declaration

    Swift

    func draw(rect: inout CGRect, calculationOnly: Bool, pageRect: CGRect)

    Parameters

    rect

    The available rectangle

    calculationOnly

    Bool if only the Bounding Rect should be calculated

    pageRect

    The page size of the PDF document