NSArray< CPTTextStyle * > CPTTextStyleArray
An array of text styles.
Definition: CPTTextStyle.h:6
NSString * fontName
The font name. Default is Helvetica. Ignored if font is not nil.
Definition: CPTTextStyle.h:22
CPTTextAlignment textAlignment
The paragraph alignment for multi-line text. Default is CPTTextAlignmentLeft.
Definition: CPTTextStyle.h:25
NSLineBreakMode lineBreakMode
The line break mode used when laying out the text. Default is NSLineBreakByWordWrapping .
Definition: CPTTextStyle.h:26
Immutable wrapper for various text style properties.
Definition: CPTTextStyle.h:18
CPTColor * color
The current text color. Default is solid black.
Definition: CPTTextStyle.h:24
CGFloat fontSize
The font size. Default is 12.0. Ignored if font is not nil.
Definition: CPTTextStyle.h:23
NSMutableArray< CPTTextStyle * > CPTMutableTextStyleArray
A mutable array of text styles.
Definition: CPTTextStyle.h:16
CPTNativeFont * font
The font. Default is nil.
Definition: CPTTextStyle.h:21
nonnull instancetype textStyle()
Creates and returns a new CPTTextStyle instance.
Definition: CPTTextStyle.m:69
NSString extensions for drawing styled text.
Definition: CPTTextStyle.h:57