Immutable wrapper for various text style properties.
Definition: CPTTextStyle.h:18
CPTNativeFont * font
The font. Default is nil.
Definition: CPTMutableTextStyle.h:7
Mutable wrapper for text style properties.
Definition: CPTMutableTextStyle.h:6
CPTColor * color
The current text color. Default is solid black.
Definition: CPTMutableTextStyle.h:10
NSLineBreakMode lineBreakMode
The line break mode used when laying out the text. Default is NSLineBreakByWordWrapping .
Definition: CPTMutableTextStyle.h:12
CPTTextAlignment textAlignment
The paragraph alignment for multi-line text. Default is CPTTextAlignmentLeft.
Definition: CPTMutableTextStyle.h:11
CGFloat fontSize
The font size. Default is 12.0. Ignored if font is not nil.
Definition: CPTMutableTextStyle.h:9
NSString * fontName
The font name. Default is Helvetica. Ignored if font is not nil.
Definition: CPTMutableTextStyle.h:8