Поделиться через


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
Атрибуты

Применяется к