NSCachedImageRep 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- depth
- NSWindowDepth
- separate
- Boolean
- alpha
- Boolean
- 屬性