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.Core.Position Class Reference

Position is a class representing the location of a 2D coordinate integer point. More...

Inherits com.spvessel.spacevil.Core.InterfacePosition.

Public Member Functions

 Position ()
 Default Position constructor. More...
 
 Position (int x, int y)
 Position constructor with specified X and Y coordinates. More...
 
void setX (int x)
 Setting X position of the 2D point. More...
 
int getX ()
 Getting X position of the 2D point. More...
 
void setY (int y)
 Setting Y position of the 2D point. More...
 
int getY ()
 Getting Y position of the 2D point. More...
 
void setPosition (int x, int y)
 Setting 2D point position. More...
 

Detailed Description

Position is a class representing the location of a 2D coordinate integer point.

Constructor & Destructor Documentation

◆ Position() [1/2]

com.spvessel.spacevil.Core.Position.Position ( )

Default Position constructor.

◆ Position() [2/2]

com.spvessel.spacevil.Core.Position.Position ( int  x,
int  y 
)

Position constructor with specified X and Y coordinates.

Parameters
xX position of the 2D point.
yY position of the 2D point.

Member Function Documentation

◆ getX()

int com.spvessel.spacevil.Core.Position.getX ( )

Getting X position of the 2D point.

Returns
X position of the 2D point.

Implements com.spvessel.spacevil.Core.InterfacePosition.

◆ getY()

int com.spvessel.spacevil.Core.Position.getY ( )

Getting Y position of the 2D point.

Returns
Y position of the 2D point.

Implements com.spvessel.spacevil.Core.InterfacePosition.

◆ setPosition()

void com.spvessel.spacevil.Core.Position.setPosition ( int  x,
int  y 
)

Setting 2D point position.

Parameters
xX position of the 2D point.
yY position of the 2D point.

◆ setX()

void com.spvessel.spacevil.Core.Position.setX ( int  x)

Setting X position of the 2D point.

Parameters
xX position of the 2D point.

Implements com.spvessel.spacevil.Core.InterfacePosition.

◆ setY()

void com.spvessel.spacevil.Core.Position.setY ( int  y)

Setting Y position of the 2D point.

Parameters
yY position of the 2D point.

Implements com.spvessel.spacevil.Core.InterfacePosition.


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