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.Cell Class Reference

Cell is sealed class representing cell in SpaceVIL.Grid. You cannot create instances of Cell class, only to get it for proccessing from any instance of SpaceVIL.Grid class. More...

Inherits SpaceVIL.Core.Geometry.

Public Member Functions

IFreeLayout GetParentGrid ()
 Getting SpaceVIL.Core.IFreeLayout (usualy SpaceVIL.Grid) instance to which this Cell belongs. More...
 
int GetRow ()
 Getting Cell row number. More...
 
int GetColumn ()
 Getting Cell column number. More...
 
int GetX ()
 Getting X position of the Cell. More...
 
int GetY ()
 Getting Y position of the Cell. More...
 
IBaseItem GetItem ()
 Getting contained item in the Cell More...
 
- Public Member Functions inherited from SpaceVIL.Core.Geometry
void SetWidth (int width)
 Setting item width. If the value is greater/less than the maximum/minimum value of the width, then the width becomes equal to the maximum/minimum value. More...
 
int GetWidth ()
 Getting item width. More...
 
void SetMinWidth (int width)
 Setting the minimum width limit. Actual width cannot be less than this limit. More...
 
int GetMinWidth ()
 Getting the minimum width limit. More...
 
void SetMaxWidth (int width)
 Setting the maximum width limit. Actual width cannot be greater than this limit. More...
 
int GetMaxWidth ()
 Getting the maximum width limit. More...
 
void SetHeight (int height)
 Setting item height. If the value is greater/less than the maximum/minimum value of the height, then the height becomes equal to the maximum/minimum value. More...
 
int GetHeight ()
 Getting item height. More...
 
void SetMinHeight (int height)
 Setting the minimum height limit. Actual height cannot be less than this limit. More...
 
int GetMinHeight ()
 Getting the minimum height limit. More...
 
void SetMaxHeight (int height)
 Setting the maximum height limit. Actual height cannot be greater than this limit. More...
 
int GetMaxHeight ()
 Getting the maximum height limit. More...
 
void SetSize (int width, int height)
 Setting item size (width and height). More...
 
Size GetSize ()
 Getting current item size. More...
 

Detailed Description

Cell is sealed class representing cell in SpaceVIL.Grid. You cannot create instances of Cell class, only to get it for proccessing from any instance of SpaceVIL.Grid class.

Member Function Documentation

◆ GetColumn()

int SpaceVIL.Cell.GetColumn ( )

Getting Cell column number.

Returns
Column number.

◆ GetItem()

IBaseItem SpaceVIL.Cell.GetItem ( )

Getting contained item in the Cell

Returns
Item as SpaceVIL.Core.IBaseItem

◆ GetParentGrid()

IFreeLayout SpaceVIL.Cell.GetParentGrid ( )

Getting SpaceVIL.Core.IFreeLayout (usualy SpaceVIL.Grid) instance to which this Cell belongs.

Returns
Container with cells as SpaceVIL.Core.IFreeLayout (usualy SpaceVIL.Grid).

◆ GetRow()

int SpaceVIL.Cell.GetRow ( )

Getting Cell row number.

Returns
Row number.

◆ GetX()

int SpaceVIL.Cell.GetX ( )

Getting X position of the Cell.

Returns
X position.

◆ GetY()

int SpaceVIL.Cell.GetY ( )

Getting Y position of the Cell.

Returns
Y position.

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