Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTColorSpace.h
Go to the documentation of this file.
1
@interface
CPTColorSpace
:
NSObject
<
NSCoding
,
NSSecureCoding
>
2
3
@property
(nonatomic, readonly, nonnull)
CGColorSpaceRef
cgColorSpace
;
4
7
+(nonnull instancetype)
genericRGBSpace
;
9
12
-(nonnull instancetype)initWithCGColorSpace:(nonnull
CGColorSpaceRef
)colorSpace NS_DESIGNATED_INITIALIZER;
13
-(nullable instancetype)initWithCoder:(nonnull
NSCoder
*)decoder NS_DESIGNATED_INITIALIZER;
15
16
@end
NSObject
CPTColorSpace::cgColorSpace
CGColorSpaceRef cgColorSpace
The CGColorSpaceRef to wrap around.
Definition:
CPTColorSpace.h:3
+[CPTColorSpace genericRGBSpace]
nonnull instancetype genericRGBSpace()
Returns a shared instance of CPTColorSpace initialized with the standard RGB space.
Definition:
CPTColorSpace.m:28
CGColorSpaceRef
typedef CGColorSpaceRef
CPTColorSpace
An immutable color space.
Definition:
CPTColorSpace.h:1
NSSecureCoding-p
NSCoder
Source
CPTColorSpace.h
Generated by
1.8.18