Deprecated
Use PDFAnnotation
instead.
SDK
- macOS 10.4–10.12Deprecated
Framework
- PDFKit
Declaration
class PDFAnnotationSquare : PDFAnnotation
Overview
A PDFAnnotationSquare object displays a rectangle on a page. Square annotations are like circle annotations (instances of the PDFAnnotationCircle class) apart from the shape.
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.