PDFSimpleText
public class PDFSimpleText : PDFText
Text and spacing of a text object.
Use this class for simple and quick text drawing
-
Text to be drawn
Declaration
Swift
public var text: String
-
Line spacing if multiple lines
Declaration
Swift
public var spacing: CGFloat
-
Initalizer
Declaration
Swift
public init(text: String, spacing: CGFloat = 0)
Parameters
text
Text to be drawn
spacing
Spacing between text lines, defaults to 0
-
Declaration
Swift
public static func == (lhs: PDFSimpleText, rhs: PDFSimpleText) -> Bool