Constructor Cursor
Cursor()
Initializes a new instance of the Cursor class.
public Cursor()
Cursor(ICursorHandler)
Initializes a new instance of the Cursor class.
public Cursor(ICursorHandler handler)
Parameters
handlerICursorHandler
Cursor(CursorType)
Initializes a new instance of the Cursor class using a cursor identifier.
public Cursor(CursorType cursor)
Parameters
cursorCursorTypeBuilt in cursor type.
Cursor(string, BitmapType, int, int)
Initializes a new instance of the Cursor class by passing a filename.
public Cursor(string cursorName, BitmapType type = BitmapType.CursorDefaultType, int hotSpotX = 0, int hotSpotY = 0)
Parameters
cursorNamestringCursor filename.
typeBitmapTypeType of the bitmap.
hotSpotXintHot spot X.
hotSpotYintHot spot Y.
Cursor(Stream, BitmapType)
Initializes a new instance of the Cursor class from a stream.
public Cursor(Stream stream, BitmapType bitmapType = BitmapType.Any)
Parameters
streamStreamStream with cursor.
bitmapTypeBitmapTypeType of the cursor.
Cursor(Image, int, int)
Initializes a new instance of the Cursor class from an image.
public Cursor(Image image, int hotSpotX = 0, int hotSpotY = 0)
Parameters
Cursor(GenericImage, int, int)
Initializes a new instance of the Cursor class from an image.
public Cursor(GenericImage image, int hotSpotX = 0, int hotSpotY = 0)
Parameters
imageGenericImageImage with cursor.
hotSpotXintHot spot X.
hotSpotYintHot spot Y.