共用方式為


NSBitmapImageRep 建構函式

定義

多載

NSBitmapImageRep(CGImage)
NSBitmapImageRep(CGRect)
NSBitmapImageRep(CIImage)
NSBitmapImageRep(NSCoder)
NSBitmapImageRep(NSData)
NSBitmapImageRep(NSObjectFlag)
NSBitmapImageRep(IntPtr)
NSBitmapImageRep(IntPtr, nint, nint, nint, nint, Boolean, Boolean, String, nint, nint)
NSBitmapImageRep(IntPtr, nint, nint, nint, nint, Boolean, Boolean, String, NSBitmapFormat, nint, nint)

NSBitmapImageRep(CGImage)

[Foundation.Export("initWithCGImage:")]
public NSBitmapImageRep (CoreGraphics.CGImage cgImage);
new AppKit.NSBitmapImageRep : CoreGraphics.CGImage -> AppKit.NSBitmapImageRep

參數

cgImage
CGImage
屬性

適用於

NSBitmapImageRep(CGRect)

[Foundation.Export("initWithFocusedViewRect:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'NSView.CacheDisplay()' instead.")]
public NSBitmapImageRep (CoreGraphics.CGRect rect);
new AppKit.NSBitmapImageRep : CoreGraphics.CGRect -> AppKit.NSBitmapImageRep

參數

rect
CGRect
屬性

適用於

NSBitmapImageRep(CIImage)

[Foundation.Export("initWithCIImage:")]
public NSBitmapImageRep (CoreImage.CIImage ciImage);
new AppKit.NSBitmapImageRep : CoreImage.CIImage -> AppKit.NSBitmapImageRep

參數

ciImage
CIImage
屬性

適用於

NSBitmapImageRep(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSBitmapImageRep (Foundation.NSCoder coder);
new AppKit.NSBitmapImageRep : Foundation.NSCoder -> AppKit.NSBitmapImageRep

參數

coder
NSCoder
屬性

適用於

NSBitmapImageRep(NSData)

[Foundation.Export("initWithData:")]
public NSBitmapImageRep (Foundation.NSData data);
new AppKit.NSBitmapImageRep : Foundation.NSData -> AppKit.NSBitmapImageRep

參數

data
NSData
屬性

適用於

NSBitmapImageRep(NSObjectFlag)

protected NSBitmapImageRep (Foundation.NSObjectFlag t);
new AppKit.NSBitmapImageRep : Foundation.NSObjectFlag -> AppKit.NSBitmapImageRep

參數

適用於

NSBitmapImageRep(IntPtr)

protected internal NSBitmapImageRep (IntPtr handle);
new AppKit.NSBitmapImageRep : nativeint -> AppKit.NSBitmapImageRep

參數

handle
IntPtr

nativeint

適用於

NSBitmapImageRep(IntPtr, nint, nint, nint, nint, Boolean, Boolean, String, nint, nint)

[Foundation.Export("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:")]
public NSBitmapImageRep (IntPtr planes, nint width, nint height, nint bps, nint spp, bool alpha, bool isPlanar, string colorSpaceName, nint rBytes, nint pBits);
new AppKit.NSBitmapImageRep : nativeint * nint * nint * nint * nint * bool * bool * string * nint * nint -> AppKit.NSBitmapImageRep

參數

planes
IntPtr

nativeint

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
bps
System.System.IntPtr System.nativeint
spp
System.System.IntPtr System.nativeint
alpha
Boolean
isPlanar
Boolean
colorSpaceName
String
rBytes
System.System.IntPtr System.nativeint
pBits
System.System.IntPtr System.nativeint
屬性

適用於

NSBitmapImageRep(IntPtr, nint, nint, nint, nint, Boolean, Boolean, String, NSBitmapFormat, nint, nint)

[Foundation.Export("initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:")]
public NSBitmapImageRep (IntPtr planes, nint width, nint height, nint bps, nint spp, bool alpha, bool isPlanar, string colorSpaceName, AppKit.NSBitmapFormat bitmapFormat, nint rBytes, nint pBits);
new AppKit.NSBitmapImageRep : nativeint * nint * nint * nint * nint * bool * bool * string * AppKit.NSBitmapFormat * nint * nint -> AppKit.NSBitmapImageRep

參數

planes
IntPtr

nativeint

width
System.System.IntPtr System.nativeint
height
System.System.IntPtr System.nativeint
bps
System.System.IntPtr System.nativeint
spp
System.System.IntPtr System.nativeint
alpha
Boolean
isPlanar
Boolean
colorSpaceName
String
bitmapFormat
NSBitmapFormat
rBytes
System.System.IntPtr System.nativeint
pBits
System.System.IntPtr System.nativeint
屬性

適用於