PDFDocumentObject
public class PDFDocumentObject : PDFAttributableObject, PDFTaggableObject, Hashable
All document objects are instances of PDFDocumentObject to share common properties, e.g. attributes.
-
List of
PDFObjectAttributeto be applied during calculations and renderingDeclaration
Swift
public var attributes: [PDFObjectAttribute] -
An integer that you can use to identify view objects in delegates.
Declaration
Swift
public var tag: Int -
nodoc
Declaration
Swift
public init() -
Appends the given
attributeto the list ofattributes.Attributes should be considered as independend from the implementation of the object. An example are clickable links, which can be applied to most objects and will be added as a interactive, rectangular area in the document, opening the configured link.
Note
Multiple instances of the same
PDFObjectAttributecan be appended and might lead to unexpected results.Declaration
Swift
public func add(attribute: PDFObjectAttribute)Parameters
attributePDFObjectAttributeto append to list
-
nodoc
Declaration
Swift
public static func == (lhs: PDFDocumentObject, rhs: PDFDocumentObject) -> Bool -
nodoc
Declaration
Swift
public func isEqual(to other: PDFDocumentObject) -> Bool
-
nodoc
Declaration
Swift
public func hash(into hasher: inout Hasher)
View on GitHub
Install in Dash