Skip to main content
Version: 3.5

Cursor

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the mouse pointer.

public class Cursor

Constructors

Instance memberCursor(image)

Creates a new cursor using the Image.

NameTypeDescription
imageImageAn Image to use for the cursor.

Instance memberCursor(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 memberCursor(stream)

Creates a new cursor using the Image.

NameTypeDescription
streamStreamA Stream to use for the cursor.

Instance memberCursor(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 memberCursor(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 memberCursor(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 memberName

String: Returns the name of the cursor.

Static memberPosition

Point: Returns or sets the pointer's position.