다음을 통해 공유


NSCursor 생성자

정의

오버로드

NSCursor()
NSCursor(NSCoder)
NSCursor(NSObjectFlag)
NSCursor(IntPtr)
NSCursor(NSImage, CGPoint)
NSCursor(NSImage, NSColor, NSColor, CGPoint)

NSCursor()

[Foundation.Export("init")]
public 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)

[Foundation.Export("initWithImage:hotSpot:")]
[ObjCRuntime.DesignatedInitializer]
public NSCursor (AppKit.NSImage newImage, CoreGraphics.CGPoint aPoint);
new AppKit.NSCursor : AppKit.NSImage * CoreGraphics.CGPoint -> AppKit.NSCursor

매개 변수

newImage
NSImage
aPoint
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
특성

적용 대상