PTFreeTextAnnotationProperties
@interface PTFreeTextAnnotationProperties
: PTMarkupAnnotationProperties <PTRichTextAnnotationProperties>
Properties of a free text annotation.
-
Initializes a
PTFreeTextAnnotationPropertiesinstance.Declaration
Objective-C
- (nonnull instancetype)init;Swift
init()Return Value
An initialized
PTFreeTextAnnotationPropertiesinstance. -
The default color of text.
Note
The default value of this property is a black color.Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *textColor;Swift
var textColor: UIColor? { get set } -
The form of quadding or justification used in displaying text.
Note
The default value of this property ise_ptleft_justified.Declaration
Objective-C
@property (nonatomic) PTTextJustification textJustification;Swift
var textJustification: PTTextJustification { get set } -
The border color of the free text annotation.
Note
The default value of this property isnil.Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *borderColor;Swift
var borderColor: UIColor? { get set }
-
The default font for the text.
Note
The default value of this property is a 12pt Helvetica font.
Declaration
Objective-C
@property (nonatomic, strong, null_resettable) UIFont *font;Swift
var font: UIFont! { get set } -
The default font size in points for the text.
Note
The default value of this property is
12.Declaration
Objective-C
@property (nonatomic) CGFloat fontSize;Swift
var fontSize: CGFloat { get set }
PTFreeTextAnnotationProperties Class Reference