Line

class Line: PDFElement

A PDF line element for a TabSection

  • tab

    The line with the tab

    Declaration

    Swift

    let tab: String
  • Init the tab item

    Declaration

    Swift

    init(_ tab: String)

    Parameters

    tab

    The line with the tab

  • Draw the line 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