NSCursor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- coder
- NSCoder
- Attributes
Applies to
NSCursor(NSObjectFlag)
protected NSCursor (Foundation.NSObjectFlag t);
new AppKit.NSCursor : Foundation.NSObjectFlag -> AppKit.NSCursor
Parameters
Applies to
NSCursor(IntPtr)
protected internal NSCursor (IntPtr handle);
new AppKit.NSCursor : nativeint -> AppKit.NSCursor
Parameters
- handle
-
IntPtr
nativeint
Applies to
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
Parameters
- newImage
- NSImage
- fg
- NSColor
- bg
- NSColor
- hotSpot
- CGPoint
- Attributes