Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTTextStylePlatformSpecific.h
Go to the documentation of this file.
1 
6 #if (MAC_OS_X_VERSION_MAX_ALLOWED >= 101200)
7 typedef NS_ENUM (NSInteger, CPTTextAlignment) {
8  CPTTextAlignmentLeft = NSTextAlignmentLeft,
9  CPTTextAlignmentCenter = NSTextAlignmentCenter,
10  CPTTextAlignmentRight = NSTextAlignmentRight,
11  CPTTextAlignmentJustified = NSTextAlignmentJustified,
12  CPTTextAlignmentNatural = NSTextAlignmentNatural
13 };
14 #else
15 typedef NS_ENUM (NSInteger, CPTTextAlignment) {
16  CPTTextAlignmentLeft = NSLeftTextAlignment,
17  CPTTextAlignmentCenter = NSCenterTextAlignment,
18  CPTTextAlignmentRight = NSRightTextAlignment,
19  CPTTextAlignmentJustified = NSJustifiedTextAlignment,
20  CPTTextAlignmentNatural = NSNaturalTextAlignment
21 };
22 #endif
CPTTextAlignmentJustified
@ CPTTextAlignmentJustified
Justified alignment.
Definition: CPTTextStylePlatformSpecific.h:19
CPTTextAlignmentNatural
@ CPTTextAlignmentNatural
Natural alignment of the text's script.
Definition: CPTTextStylePlatformSpecific.h:20
CPTTextAlignment
CPTTextAlignment
Enumeration of paragraph alignments.
Definition: CPTTextStylePlatformSpecific.h:15
CPTTextAlignmentRight
@ CPTTextAlignmentRight
Right alignment.
Definition: CPTTextStylePlatformSpecific.h:18
CPTTextAlignmentLeft
@ CPTTextAlignmentLeft
Left alignment.
Definition: CPTTextStylePlatformSpecific.h:16
CPTTextAlignmentCenter
@ CPTTextAlignmentCenter
Center alignment.
Definition: CPTTextStylePlatformSpecific.h:17