A PDFAnnotation
object displays a single line on a page.
Deprecated
Use PDFAnnotation
instead.
SDK
- macOS 10.4–10.12Deprecated
Framework
- PDFKit
Declaration
class PDFAnnotationLine : PDFAnnotation
Overview
The setLineWidth(_:) and setStyle(_:) methods of the annotation’s associated PDFBorder
object determines the stroke thickness and style. The setColor(_:) method of the PDFAnnotation
class determines the stroke color.