public class NSImage extends NSObject
| Constructor and Description |
|---|
NSImage() |
NSImage(id id) |
NSImage(int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepresentation(NSImageRep imageRep) |
NSImageRep |
bestRepresentationForDevice(NSDictionary deviceDescription) |
void |
drawAtPoint(NSPoint point,
NSRect fromRect,
int op,
float delta) |
void |
drawInRect(NSRect rect,
NSRect fromRect,
int op,
float delta) |
static NSImage |
imageNamed(NSString name) |
NSImage |
initByReferencingFile(NSString fileName) |
NSImage |
initWithContentsOfFile(NSString fileName) |
id |
initWithData(NSData data) |
NSImage |
initWithIconRef(int iconRef) |
NSImage |
initWithSize(NSSize aSize) |
void |
lockFocus() |
void |
removeRepresentation(NSImageRep imageRep) |
NSArray |
representations() |
void |
setCacheMode(int mode) |
void |
setScalesWhenResized(boolean flag) |
void |
setSize(NSSize aSize) |
NSSize |
size() |
NSData |
TIFFRepresentation() |
void |
unlockFocus() |
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSImage()
public NSImage(int id)
public NSImage(id id)
public NSData TIFFRepresentation()
public void addRepresentation(NSImageRep imageRep)
public NSImageRep bestRepresentationForDevice(NSDictionary deviceDescription)
public NSImage initWithIconRef(int iconRef)
public void lockFocus()
public void removeRepresentation(NSImageRep imageRep)
public NSArray representations()
public void setCacheMode(int mode)
public void setScalesWhenResized(boolean flag)
public void setSize(NSSize aSize)
public NSSize size()
public void unlockFocus()