PDFAttributedText
public class PDFAttributedText : PDFText
Attributed text objects hold an instance of NSAttributedString
Use this class for advanced text drawing
-
Text which will be drawn
Declaration
Swift
public var text: NSAttributedString
-
Initializer
Declaration
Swift
public init(text: NSAttributedString)
Parameters
text
Text, which will be drawn
-
Creats a new
PDFAttributedText
with the same propertiesDeclaration
Swift
override public var copy: PDFText { get }
-
Compares two instances of
PDFAttributedText
for equalityDeclaration
Swift
override public func isEqual(to other: PDFDocumentObject) -> Bool
Parameters
lhs
One instance of
PDFAttributedText
rhs
Another instance of
PDFAttributedText
Return Value
true
, ifattributes
,tag
andtext
equal; otherwisefalse