Classes

The following classes are available globally.

  • Attributed text objects hold an instance of NSAttributedString

    Use this class for advanced text drawing

    See more

    Declaration

    Swift

    public class PDFAttributedText: PDFText
  • The main class users interact with. This object holds the information about the document and also all PDF objects.

    It is possible to create a JSON representation using the PDFJSONSerializable protocol.

    See more

    Declaration

    Swift

    public class PDFDocument: PDFJSONSerializable
  • Factory which converts a document into a PDF file

    See more

    Declaration

    Swift

    public class PDFGenerator
  • Image element for the PDF document. Contains all information about an image, including the caption.

    See more

    Declaration

    Swift

    public class PDFImage: PDFJSONSerializable
  • Text and spacing of a text object.

    Use this class for simple and quick text drawing

    See more

    Declaration

    Swift

    public class PDFSimpleText: PDFText
  • Protocol all text objects should implement

    Declaration

    Swift

    public class PDFText