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

Area class represents a rectangular region with a specified position. More...

Public Member Functions

 Area ()
 Default constructor. All values are zero. More...
 
 Area (int x, int y, int w, int h)
 Constructs a Area with specified position and size. More...
 
void SetX (int value)
 Setting X position. More...
 
void SetY (int value)
 Setting Y position. More...
 
void SetWidth (int value)
 Setting area width. More...
 
void SetHeight (int value)
 Setting area height. More...
 
int GetX ()
 Getting X position. More...
 
int GetY ()
 Getting Y position. More...
 
int GetWidth ()
 Getting area width. More...
 
int GetHeight ()
 Getting area height. More...
 
void SetAttr (int x, int y, int w, int h)
 Setting all area attributes. More...
 
override string ToString ()
 

Detailed Description

Area class represents a rectangular region with a specified position.

Constructor & Destructor Documentation

◆ Area() [1/2]

SpaceVIL.Core.Area.Area ( )

Default constructor. All values are zero.

◆ Area() [2/2]

SpaceVIL.Core.Area.Area ( int  x,
int  y,
int  w,
int  h 
)

Constructs a Area with specified position and size.

Parameters
xX position.
yY position.
wArea width.
hArea height.

Member Function Documentation

◆ GetHeight()

int SpaceVIL.Core.Area.GetHeight ( )

Getting area height.

Returns
Current area height.

◆ GetWidth()

int SpaceVIL.Core.Area.GetWidth ( )

Getting area width.

Returns
Current area width.

◆ GetX()

int SpaceVIL.Core.Area.GetX ( )

Getting X position.

Returns
Current X position value.

◆ GetY()

int SpaceVIL.Core.Area.GetY ( )

Getting Y position.

Returns
Current Y position value.

◆ SetAttr()

void SpaceVIL.Core.Area.SetAttr ( int  x,
int  y,
int  w,
int  h 
)

Setting all area attributes.

Parameters
xX position.
yY position.
wArea width.
hArea height.

◆ SetHeight()

void SpaceVIL.Core.Area.SetHeight ( int  value)

Setting area height.

Parameters
valueAn area height.

◆ SetWidth()

void SpaceVIL.Core.Area.SetWidth ( int  value)

Setting area width.

Parameters
valueAn area width.

◆ SetX()

void SpaceVIL.Core.Area.SetX ( int  value)

Setting X position.

Parameters
valueX position.

◆ SetY()

void SpaceVIL.Core.Area.SetY ( int  value)

Setting Y position.

Parameters
valueY position.

◆ ToString()

override string SpaceVIL.Core.Area.ToString ( )

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