NSCursor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSCursor() | |
NSCursor(NSCoder) | |
NSCursor(NSObjectFlag) | |
NSCursor(IntPtr) | |
NSCursor(NSImage, CGPoint) | |
NSCursor(NSImage, NSColor, NSColor, CGPoint) |
NSCursor()
NSCursor(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSCursor (Foundation.NSCoder coder);
new AppKit.NSCursor : Foundation.NSCoder -> AppKit.NSCursor
參數
- coder
- NSCoder
- 屬性
適用於
NSCursor(NSObjectFlag)
protected NSCursor (Foundation.NSObjectFlag t);
new AppKit.NSCursor : Foundation.NSObjectFlag -> AppKit.NSCursor
參數
適用於
NSCursor(IntPtr)
protected internal NSCursor (IntPtr handle);
new AppKit.NSCursor : nativeint -> AppKit.NSCursor
參數
- handle
-
IntPtr
nativeint
適用於
NSCursor(NSImage, CGPoint)
NSCursor(NSImage, NSColor, NSColor, CGPoint)
[Foundation.Export("initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, "Color hints are ignored. Use NSCursor (NSImage newImage, CGPoint aPoint) instead.")]
public NSCursor (AppKit.NSImage newImage, AppKit.NSColor fg, AppKit.NSColor bg, CoreGraphics.CGPoint hotSpot);
new AppKit.NSCursor : AppKit.NSImage * AppKit.NSColor * AppKit.NSColor * CoreGraphics.CGPoint -> AppKit.NSCursor
參數
- newImage
- NSImage
- fg
- NSColor
- bg
- NSColor
- hotSpot
- CGPoint
- 屬性