Cursor
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the mouse pointer.
- C#
- VB.NET
public class Cursor
Public Class Cursor
Constructors
Cursor(image)
Creates a new cursor using the Image.
| Name | Type | Description |
|---|---|---|
| image | Image | An Image to use for the cursor. |
Cursor(source)
Creates a new cursor using an image source: can use a themed image or URL.
| Name | Type | Description |
|---|---|---|
| source | String | The name of a theme image or a URL to an image resource. |
Cursor(stream)
Creates a new cursor using the Image.
| Name | Type | Description |
|---|---|---|
| stream | Stream | A Stream to use for the cursor. |
Cursor(image, x, y)
Creates a new cursor using the Image.
| Name | Type | Description |
|---|---|---|
| image | Image | An Image to use for the cursor. |
| x | Int32 | x-coordinate of the hotspot location. |
| y | Int32 | y-coordinate of the hotspot location. |
Cursor(stream, x, y)
Creates a new cursor using the Image.
| Name | Type | Description |
|---|---|---|
| stream | Stream | A Stream to use for the cursor. |
| x | Int32 | x-coordinate of the hotspot location. |
| y | Int32 | y-coordinate of the hotspot location. |
Cursor(source, x, y)
Creates a new cursor using an image source: can use a themed image or URL.
| Name | Type | Description |
|---|---|---|
| source | String | The name of a theme image or a URL to an image resource. |
| x | Int32 | x-coordinate of the hotspot location. |
| y | Int32 | y-coordinate of the hotspot location. |
Properties
Name
String: Returns the name of the cursor.
Position
Point: Returns or sets the pointer's position.