PAGText Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | PAGText.h |
applyFill
When true, the text layer shows a fill.
@property (nonatomic, assign) bool applyFillDeclared In
PAGText.h
applyStroke
When true, the text layer shows a stroke.
@property (nonatomic, assign) bool applyStrokeDeclared In
PAGText.h
baselineShift
Readonly, external modifications are not valid.
@property (nonatomic, assign) float baselineShiftDeclared In
PAGText.h
firstBaseLine
Readonly, external modifications are not valid.
@property (nonatomic, assign) float firstBaseLineDeclared In
PAGText.h
fillColor
The text layer’s fill color.
@property (nonatomic, strong) CocoaColor *fillColorDeclared In
PAGText.h
fontFamily
A string with the name of the font family.
@property (nonatomic, copy) NSString *fontFamilyDeclared In
PAGText.h
fontStyle
A string with the style information — e.g., “bold”, “italic”.
@property (nonatomic, copy) NSString *fontStyleDeclared In
PAGText.h
fontSize
The text layer’s font size in pixels.
@property (nonatomic, assign) float fontSizeDeclared In
PAGText.h
strokeColor
The text layer’s stroke color.
@property (nonatomic, strong) CocoaColor *strokeColorDeclared In
PAGText.h
strokeOverFill
Indicates the rendering order for the fill and stroke of a text layer. Readonly, external modifications are not valid.
@property (nonatomic, assign) bool strokeOverFillDeclared In
PAGText.h
strokeWidth
The text layer’s stroke thickness.
@property (nonatomic, assign) float strokeWidthDeclared In
PAGText.h
text
The text layer’s Source Text value.
@property (nonatomic, copy) NSString *textDeclared In
PAGText.h
justification
The paragraph justification for the text layer. Such as : PAGJustificationLeftJustify, PAGJustificationCenterJustify…
@property (nonatomic, assign) uint8_t justificationDeclared In
PAGText.h
leading
The space between lines, 0 indicates ‘auto’, which is fontSize * 1.2
@property (nonatomic, assign) float leadingDeclared In
PAGText.h
tracking
The text layer’s spacing between characters.
@property (nonatomic, assign) float trackingDeclared In
PAGText.h
backgroundColor
The text layer’s background color.
@property (nonatomic, strong) CocoaColor *backgroundColorDeclared In
PAGText.h
backgroundAlpha
The text layer’s background alpha. 0 = 100% transparent, 255 = 100% opaque.
@property (nonatomic, assign) int backgroundAlphaDeclared In
PAGText.h