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