Package org.eclipse.swt.internal.cocoa
Class NSBitmapImageRep
- java.lang.Object
-
- org.eclipse.swt.internal.cocoa.id
-
- org.eclipse.swt.internal.cocoa.NSObject
-
- org.eclipse.swt.internal.cocoa.NSImageRep
-
- org.eclipse.swt.internal.cocoa.NSBitmapImageRep
-
public class NSBitmapImageRep extends NSImageRep
-
-
Constructor Summary
Constructors Constructor Description NSBitmapImageRep()
NSBitmapImageRep(long id)
NSBitmapImageRep(id id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
bitmapData()
long
bitmapFormat()
long
bitsPerPixel()
long
bytesPerRow()
NSColor
colorAtX(long x, long y)
static NSImageRep
imageRepWithContentsOfFile(NSString filename)
NSBitmapImageRep
initWithBitmapDataPlanes(long planes, long width, long height, long bps, long spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, long bitmapFormat, long rBytes, long pBits)
NSBitmapImageRep
initWithData(NSData data)
boolean
isPlanar()
long
samplesPerPixel()
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSImageRep
bitsPerSample, drawInRect, hasAlpha, pixelsHigh, pixelsWide, setAlpha, setSize
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSBitmapImageRep
public NSBitmapImageRep()
-
NSBitmapImageRep
public NSBitmapImageRep(long id)
-
NSBitmapImageRep
public NSBitmapImageRep(id id)
-
-
Method Detail
-
bitmapData
public long bitmapData()
-
bitmapFormat
public long bitmapFormat()
-
bitsPerPixel
public long bitsPerPixel()
-
bytesPerRow
public long bytesPerRow()
-
colorAtX
public NSColor colorAtX(long x, long y)
-
initWithBitmapDataPlanes
public NSBitmapImageRep initWithBitmapDataPlanes(long planes, long width, long height, long bps, long spp, boolean alpha, boolean isPlanar, NSString colorSpaceName, long bitmapFormat, long rBytes, long pBits)
-
initWithData
public NSBitmapImageRep initWithData(NSData data)
-
isPlanar
public boolean isPlanar()
-
samplesPerPixel
public long samplesPerPixel()
-
imageRepWithContentsOfFile
public static NSImageRep imageRepWithContentsOfFile(NSString filename)
-
-