MonobjcMonobjc Documented Class Library
NSCursor Constructor (newImage, aPoint)
NamespacesMonobjc.AppKitNSCursorNSCursor(NSImage, NSPoint)

Initializes a cursor with the given image and hot spot.

Original signature is '- (id)initWithImage:(NSImage *)newImage hotSpot:(NSPoint)aPoint'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSCursor(
	NSImage newImage,
	NSPoint aPoint
)
Public Sub New ( _
	newImage As NSImage, _
	aPoint As NSPoint _
)
public:
NSCursor(
	NSImage^ newImage, 
	NSPoint aPoint
)
Parameters
newImage (NSImage)
The image to assign to the cursor.
aPoint (NSPoint)
The point to set as the cursor's hot spot.
Return Value
An initialized cursor object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)