PTRichTextAnnotationProperties
@protocol PTRichTextAnnotationProperties <NSObject>
Properties of annotations that support rich text content.
-
The default color of text.
Declaration
Objective-C
@required @property (nonatomic, strong, readwrite, nullable) UIColor *textColor;
Swift
var textColor: UIColor? { get set }
-
The default font for the text.
Declaration
Objective-C
@required @property (nonatomic, strong, readwrite, nullable) UIFont *font;
Swift
var font: UIFont? { get set }
-
The default font size in points for the text.
Declaration
Objective-C
@required @property (nonatomic, assign, unsafe_unretained, readwrite) CGFloat fontSize;
Swift
var fontSize: CGFloat { get set }