NSCustomImageRep 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSCustomImageRep(NSCoder) | |
NSCustomImageRep(NSObjectFlag) | |
NSCustomImageRep(IntPtr) | |
NSCustomImageRep(Selector, NSObject) | |
NSCustomImageRep(CGSize, Boolean, NSCustomImageRepDrawingHandler) |
NSCustomImageRep(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSCustomImageRep (Foundation.NSCoder coder);
new AppKit.NSCustomImageRep : Foundation.NSCoder -> AppKit.NSCustomImageRep
參數
- coder
- NSCoder
- 屬性
適用於
NSCustomImageRep(NSObjectFlag)
protected NSCustomImageRep (Foundation.NSObjectFlag t);
new AppKit.NSCustomImageRep : Foundation.NSObjectFlag -> AppKit.NSCustomImageRep
參數
適用於
NSCustomImageRep(IntPtr)
protected internal NSCustomImageRep (IntPtr handle);
new AppKit.NSCustomImageRep : nativeint -> AppKit.NSCustomImageRep
參數
- handle
-
IntPtr
nativeint
適用於
NSCustomImageRep(Selector, NSObject)
[Foundation.Export("initWithDrawSelector:delegate:")]
public NSCustomImageRep (ObjCRuntime.Selector drawSelectorMethod, Foundation.NSObject delegateObject);
new AppKit.NSCustomImageRep : ObjCRuntime.Selector * Foundation.NSObject -> AppKit.NSCustomImageRep
參數
- drawSelectorMethod
- Selector
- delegateObject
- NSObject
- 屬性
適用於
NSCustomImageRep(CGSize, Boolean, NSCustomImageRepDrawingHandler)
[Foundation.Export("initWithSize:flipped:drawingHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public NSCustomImageRep (CoreGraphics.CGSize size, bool flipped, AppKit.NSCustomImageRepDrawingHandler drawingHandler);
new AppKit.NSCustomImageRep : CoreGraphics.CGSize * bool * AppKit.NSCustomImageRepDrawingHandler -> AppKit.NSCustomImageRep
參數
- size
- CGSize
- flipped
- Boolean
- drawingHandler
- NSCustomImageRepDrawingHandler
- 屬性