Reference for JVM 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.
com.spvessel.spacevil.CursorImage Class Reference

Class CursorImage provides features for creating custom cursors. 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 (BufferedImage bitmap)
 Constructor for creating cursor with custom bitmap image. More...
 
 CursorImage (BufferedImage 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 (BufferedImage 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]

com.spvessel.spacevil.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]

com.spvessel.spacevil.CursorImage.CursorImage ( BufferedImage  bitmap)

Constructor for creating cursor with custom bitmap image.

Parameters
bitmapCursor image as java.awt.image.BufferedImage.

◆ CursorImage() [3/3]

com.spvessel.spacevil.CursorImage.CursorImage ( BufferedImage  bitmap,
int  width,
int  height 
)

Constructor for creating cursor with custom bitmap image with the specified size.

Parameters
bitmapCursor image as java.awt.image.BufferedImage.
widthDesired width.
heightDesired height.

Member Function Documentation

◆ getCursorHeight()

int com.spvessel.spacevil.CursorImage.getCursorHeight ( )

Getting cursor image height.

Returns
The height of the image.

◆ getCursorWidth()

int com.spvessel.spacevil.CursorImage.getCursorWidth ( )

Getting cursor image width.

Returns
The width of the image.

◆ setImage()

void com.spvessel.spacevil.CursorImage.setImage ( BufferedImage  image)

Setting new image for cursor.

Parameters
imageCursor image as java.awt.image.BufferedImage.

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