![]() |
Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
An immutable color space. More...
#import <CPTColorSpace.h>
Inheritance diagram for CPTColorSpace:
Collaboration diagram for CPTColorSpace:Public Class Methods | |
Factory Methods | |
| (nonnull instancetype) | + genericRGBSpace |
| Returns a shared instance of CPTColorSpace initialized with the standard RGB space. More... | |
Public Class Methods inherited from NSObject | |
| (id) | + alloc |
| (Class) | + class |
| (void) | + initialize |
| (void) | + load |
| (id) | + new |
Public Class Methods inherited from <NSKeyValueBindingCreation> | |
| (void) | + exposeBinding: |
Public Class Methods inherited from <NSSecureCoding> | |
| (BOOL) | + supportsSecureCoding: |
Public Instance Methods | |
Initialization | |
| (nonnull instancetype) | - initWithCGColorSpace: |
| Initializes a newly allocated colorspace object with the specified color space. This is the designated initializer. More... | |
| (nullable instancetype) | - initWithCoder: |
| Returns an object initialized from data in a given unarchiver. More... | |
Public Instance Methods inherited from NSObject | |
| (Class) | - classForCoder |
| (id) | - copy |
| (void) | - dealloc |
| (void) | - finalize |
| (id) | - init |
| (id) | - mutableCopy |
Public Instance Methods inherited from <NSObject> | |
| (NSString *) | - description |
| (NSUInteger) | - hash |
| (BOOL) | - isEqual: |
Public Instance Methods inherited from <NSKeyValueBindingCreation> | |
| (NSArray *) | - exposedBindings |
| (Class) | - valueClassForBinding: |
| (void) | - bind:toObject:withKeyPath:options: |
| (NSArray *) | - optionDescriptionsForBinding: |
| (NSDictionary *) | - infoForBinding: |
| (void) | - unbind: |
Public Instance Methods inherited from <NSCoding> | |
| (id) | - initWithCoder: |
| (void) | - encodeWithCoder: |
Properties | |
| CGColorSpaceRef | cgColorSpace |
| The CGColorSpaceRef to wrap around. More... | |
An immutable color space.
An immutable object wrapper class around CGColorSpaceRef.
| + (nonnull instancetype) genericRGBSpace |
Returns a shared instance of CPTColorSpace initialized with the standard RGB space.
The standard RGB space is created by the CGColorSpaceCreateWithName ( kCGColorSpaceGenericRGB ) function.
| - (nonnull instancetype) initWithCGColorSpace: | (nonnull CGColorSpaceRef) | colorSpace |
Initializes a newly allocated colorspace object with the specified color space. This is the designated initializer.
| colorSpace | The color space. |
| - (nullable instancetype) initWithCoder: | (nonnull NSCoder *) | coder |
Returns an object initialized from data in a given unarchiver.
| coder | An unarchiver object. |
|
readnonatomicassign |
The CGColorSpaceRef to wrap around.