共用方式為


NSCustomImageRep 建構函式

定義

多載

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
屬性

適用於