Class CursorImage provides features for creating custom cursors. It can also be used with several standards types of cursor images (Arrow, IBeam, Crosshair, Hand and etc.).
More...
Class CursorImage provides features for creating custom cursors. It can also be used with several standards types of cursor images (Arrow, IBeam, Crosshair, Hand and etc.).
◆ CursorImage() [1/3]
Constructor for creating cursor with standards types of cursor images (Arrow, IBeam, Crosshair, Hand and etc.).
- Parameters
-
◆ CursorImage() [2/3]
SpaceVIL.Decorations.CursorImage.CursorImage |
( |
Bitmap |
bitmap | ) |
|
Constructor for creating cursor with custom bitmap image.
- Parameters
-
bitmap | Cursor image as System.Drawing.Bitmap class. |
◆ CursorImage() [3/3]
SpaceVIL.Decorations.CursorImage.CursorImage |
( |
Bitmap |
bitmap, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
Constructor for creating cursor with custom bitmap image with the specified size.
- Parameters
-
bitmap | Cursor image as System.Drawing.Bitmap class. |
width | Desired width. |
height | Desired height. |
◆ GetCursorHeight()
int SpaceVIL.Decorations.CursorImage.GetCursorHeight |
( |
| ) |
|
Getting cursor image height.
- Returns
- The height of the image.
◆ GetCursorWidth()
int SpaceVIL.Decorations.CursorImage.GetCursorWidth |
( |
| ) |
|
Getting cursor image width.
- Returns
- The width of the image.
◆ SetImage()
void SpaceVIL.Decorations.CursorImage.SetImage |
( |
Bitmap |
image | ) |
|
Setting new image for cursor.
- Parameters
-
image | Cursor image as System.Drawing.Bitmap. |
The documentation for this class was generated from the following file: