Table of Contents

Constructor Cursor

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

handler ICursorHandler

Cursor(CursorType)

Initializes a new instance of the Cursor class using a cursor identifier.

public Cursor(CursorType cursor)

Parameters

cursor CursorType

Built 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

cursorName string

Cursor filename.

type BitmapType

Type of the bitmap.

hotSpotX int

Hot spot X.

hotSpotY int

Hot 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

stream Stream

Stream with cursor.

bitmapType BitmapType

Type 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

image Image

Image with cursor.

hotSpotX int

Hot spot X.

hotSpotY int

Hot spot Y.

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

image GenericImage

Image with cursor.

hotSpotX int

Hot spot X.

hotSpotY int

Hot spot Y.