NSCachedImageRep 构造函数

定义

重载

NSCachedImageRep(NSCoder)
NSCachedImageRep(NSObjectFlag)
NSCachedImageRep(IntPtr)
NSCachedImageRep(NSWindow, CGRect)
NSCachedImageRep(CGSize, NSWindowDepth, Boolean, Boolean)

NSCachedImageRep(NSCoder)

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

参数

coder
NSCoder
属性

适用于

NSCachedImageRep(NSObjectFlag)

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

参数

适用于

NSCachedImageRep(IntPtr)

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

参数

handle
IntPtr

nativeint

适用于

NSCachedImageRep(NSWindow, CGRect)

[Foundation.Export("initWithWindow:rect:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 6, ObjCRuntime.PlatformArchitecture.All, null)]
public NSCachedImageRep (AppKit.NSWindow win, CoreGraphics.CGRect rect);
new AppKit.NSCachedImageRep : AppKit.NSWindow * CoreGraphics.CGRect -> AppKit.NSCachedImageRep

参数

win
NSWindow
rect
CGRect
属性

适用于

NSCachedImageRep(CGSize, NSWindowDepth, Boolean, Boolean)

[Foundation.Export("initWithSize:depth:separate:alpha:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 6, ObjCRuntime.PlatformArchitecture.All, null)]
public NSCachedImageRep (CoreGraphics.CGSize size, AppKit.NSWindowDepth depth, bool separate, bool alpha);
new AppKit.NSCachedImageRep : CoreGraphics.CGSize * AppKit.NSWindowDepth * bool * bool -> AppKit.NSCachedImageRep

参数

size
CGSize
separate
Boolean
alpha
Boolean
属性

适用于