Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Platform-specific extensions to CPTImage. More...
#import <CPTImage.h>
Public Instance Methods | |
Initialization | |
(nonnull instancetype) | - initWithNativeImage: |
Initializes a CPTImage instance with the provided platform-native image. More... | |
(nonnull instancetype) | - initForPNGFile: |
Initializes a CPTImage instance with the contents of a PNG file. More... | |
Platform-specific extensions to CPTImage.
- (nonnull instancetype) initForPNGFile: | (nonnull NSString *) | path |
Initializes a CPTImage instance with the contents of a PNG file.
On systems that support hi-dpi or “Retina” displays, this method will look for a double-resolution image with the given name followed by “@2x”. If the “@2x” image is not available, the named image file will be loaded.
path | The file system path of the file. |
Extends class CPTImage.
- (nonnull instancetype) initWithNativeImage: | (nullable CPTNativeImage *) | anImage |