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
属性

适用于