| Icon | Member | Description |
|---|---|---|
| NSImage(IntPtr, NSSize) | Initializes and returns an NSImage instance with the contents of the CGImage. Original signature is '- (id)initWithCGImage:(CGImageRef)cgImage size:(NSSize)size' Available in Mac OS X v10.6 and later. | |
| NSImage(NSString) | Initializes and returns an NSImage instance with the contents of the specified file. Original signature is '- (id)initWithContentsOfFile:(NSString *)filename' Available in Mac OS X v10.0 and later. | |
| NSImage(NSURL) | Initializes and returns an NSImage instance with the contents of the specified URL. Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL' Available in Mac OS X v10.0 and later. | |
| NSImage(NSData) | Initializes and returns an NSImage instance with the contents of the specified NSData object. Original signature is '- (id)initWithData:(NSData *)data' Available in Mac OS X v10.0 and later. | |
| NSImage(NSPasteboard) | Initializes and returns an NSImage instance with data from the specified pasteboard. Original signature is '- (id)initWithPasteboard:(NSPasteboard *)pasteboard' Available in Mac OS X v10.0 and later. | |
| NSImage(NSSize) | Initializes and returns an NSImage instance whose size is set to the specified value. Original signature is '- (id)initWithSize:(NSSize)aSize' Available in Mac OS X v10.0 and later. | |
| NSImage(NSCoder) | Returns an object initialized from data in a given unarchiver. (required) Original signature is '- (id)initWithCoder:(NSCoder *)decoder' Available in Mac OS X v10.0 and later. | |
| NSImage(Id, NSString) | Initializes an instance with a property list object and a type string. Original signature is '- (id)initWithPasteboardPropertyList:(id)propertyList ofType:(NSString *)type' Available in Mac OS X v10.6 and later. | |
| NSImage()()()() |
Initializes a new instance of the NSImage class.
| |
| NSImage(IntPtr) |
Initializes a new instance of the NSImage class.
| |
| NSImage(String, Object, array<Object>[]()[][]) |
Initializes a new instance of the NSImage class.
| |
| NSImage(SerializationInfo, StreamingContext) |
Initializes a new instance of the NSImage class.
This constructor is called during de-serializatin of embedded images for example. |