Reference for .Net version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
SpaceVIL.Decorations.CursorImage Class Reference

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...

Public Member Functions

 CursorImage (EmbeddedCursor type)
 Constructor for creating cursor with standards types of cursor images (Arrow, IBeam, Crosshair, Hand and etc.). More...
 
 CursorImage (Bitmap bitmap)
 Constructor for creating cursor with custom bitmap image. More...
 
 CursorImage (Bitmap bitmap, int width, int height)
 Constructor for creating cursor with custom bitmap image with the specified size. More...
 
int GetCursorWidth ()
 Getting cursor image width. More...
 
int GetCursorHeight ()
 Getting cursor image height. More...
 
void SetImage (Bitmap image)
 Setting new image for cursor. More...
 

Detailed Description

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.).

Constructor & Destructor Documentation

◆ CursorImage() [1/3]

SpaceVIL.Decorations.CursorImage.CursorImage ( EmbeddedCursor  type)

Constructor for creating cursor with standards types of cursor images (Arrow, IBeam, Crosshair, Hand and etc.).

Parameters
typeCursor image as SpaceVIL.Core.EmbeddedCursor enum.

◆ CursorImage() [2/3]

SpaceVIL.Decorations.CursorImage.CursorImage ( Bitmap  bitmap)

Constructor for creating cursor with custom bitmap image.

Parameters
bitmapCursor 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
bitmapCursor image as System.Drawing.Bitmap class.
widthDesired width.
heightDesired height.

Member Function Documentation

◆ 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
imageCursor image as System.Drawing.Bitmap.

The documentation for this class was generated from the following file: