Skip to main content
Version: 4.1

Cursor

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents the mouse pointer.

public class Cursor

Constructors

Instance member Cursor(image)

Creates a new cursor using the Image.

NameTypeDescription
imageImageAn Image to use for the cursor.

Instance member Cursor(source)

Creates a new cursor using an image source: can use a themed image or URL.

NameTypeDescription
sourceStringThe name of a theme image or a URL to an image resource.

Instance member Cursor(stream)

Creates a new cursor using the Image.

NameTypeDescription
streamStreamA Stream to use for the cursor.

Instance member Cursor(image, x, y)

Creates a new cursor using the Image.

NameTypeDescription
imageImageAn Image to use for the cursor.
xInt32x-coordinate of the hotspot location.
yInt32y-coordinate of the hotspot location.

Instance member Cursor(stream, x, y)

Creates a new cursor using the Image.

NameTypeDescription
streamStreamA Stream to use for the cursor.
xInt32x-coordinate of the hotspot location.
yInt32y-coordinate of the hotspot location.

Instance member Cursor(source, x, y)

Creates a new cursor using an image source: can use a themed image or URL.

NameTypeDescription
sourceStringThe name of a theme image or a URL to an image resource.
xInt32x-coordinate of the hotspot location.
yInt32y-coordinate of the hotspot location.

Properties

Instance member Name

String: Returns the name of the cursor.

Static member Position

Point: Returns or sets the pointer's position.