NSBitmapImageRep Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NSBitmapImageRep(CGImage)
[Foundation.Export("initWithCGImage:")]
public NSBitmapImageRep (CoreGraphics.CGImage cgImage);
new AppKit.NSBitmapImageRep : CoreGraphics.CGImage -> AppKit.NSBitmapImageRep
Parameters
- cgImage
- CGImage
- Attributes
Applies to
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
Parameters
- rect
- CGRect
- Attributes
Applies to
NSBitmapImageRep(CIImage)
[Foundation.Export("initWithCIImage:")]
public NSBitmapImageRep (CoreImage.CIImage ciImage);
new AppKit.NSBitmapImageRep : CoreImage.CIImage -> AppKit.NSBitmapImageRep
Parameters
- ciImage
- CIImage
- Attributes
Applies to
NSBitmapImageRep(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSBitmapImageRep (Foundation.NSCoder coder);
new AppKit.NSBitmapImageRep : Foundation.NSCoder -> AppKit.NSBitmapImageRep
Parameters
- coder
- NSCoder
- Attributes
Applies to
NSBitmapImageRep(NSData)
[Foundation.Export("initWithData:")]
public NSBitmapImageRep (Foundation.NSData data);
new AppKit.NSBitmapImageRep : Foundation.NSData -> AppKit.NSBitmapImageRep
Parameters
- data
- NSData
- Attributes
Applies to
NSBitmapImageRep(NSObjectFlag)
protected NSBitmapImageRep (Foundation.NSObjectFlag t);
new AppKit.NSBitmapImageRep : Foundation.NSObjectFlag -> AppKit.NSBitmapImageRep
Parameters
Applies to
NSBitmapImageRep(IntPtr)
protected internal NSBitmapImageRep (IntPtr handle);
new AppKit.NSBitmapImageRep : nativeint -> AppKit.NSBitmapImageRep
Parameters
- handle
-
IntPtr
nativeint
Applies to
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
Parameters
- 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
- Attributes
Applies to
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
Parameters
- 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
- Attributes