Cursor
Wisej.Web.Cursor
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the mouse pointer.
Constructors
Cursor(image)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Creates a new cursor using the Image.
Cursor(source)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Creates a new cursor using an image source: can use a themed image or URL.
Name | Type | Description |
---|---|---|
source | The name of a theme image or a URL to an image resource. |
Cursor(stream)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Creates a new cursor using the Image.
Cursor(image, x, y)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Creates a new cursor using the Image.
Name | Type | Description |
---|---|---|
image | An Image to use for the cursor. | |
x | x-coordinate of the hotspot location. | |
y | y-coordinate of the hotspot location. |
Cursor(stream, x, y)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Creates a new cursor using the Image.
Name | Type | Description |
---|---|---|
stream | A Stream to use for the cursor. | |
x | x-coordinate of the hotspot location. | |
y | y-coordinate of the hotspot location. |
Cursor(source, x, y)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
Creates a new cursor using an image source: can use a themed image or URL.
Name | Type | Description |
---|---|---|
source | The name of a theme image or a URL to an image resource. | |
x | x-coordinate of the hotspot location. | |
y | y-coordinate of the hotspot location. |
Properties
Name
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia%26token%3Dbc63f9cf-3241-48ac-8cb4-46d1df1d13df&width=300&dpr=4&quality=100&sign=3f055c39&sv=1)
String: Returns the name of the cursor.
Position
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3811934619-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FaN9qL9rX9v301dsI6CfD%252Fuploads%252Fgit-blob-e4f8ed47a52590951f725a10c269555e81d41d81%252Fstatic.png%3Falt%3Dmedia%26token%3Dead2f53e-d284-40fe-b124-7932aae1c1d8&width=300&dpr=4&quality=100&sign=549881f2&sv=1)
Point: Returns or sets the pointer's position.
Last updated