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

Class Geometry describes all geometry properties of the item. More...

Inherits SpaceVIL.Core.ISize.

Inherited by SpaceVIL.Cell.

Public Member Functions

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

Class Geometry describes all geometry properties of the item.

Member Function Documentation

◆ GetHeight()

int SpaceVIL.Core.Geometry.GetHeight ( )

Getting item height.

Returns
Height of the item.

Implements SpaceVIL.Core.ISize.

◆ GetMaxHeight()

int SpaceVIL.Core.Geometry.GetMaxHeight ( )

Getting the maximum height limit.

Returns
Maximum height limit of the item.

Implements SpaceVIL.Core.ISize.

◆ GetMaxWidth()

int SpaceVIL.Core.Geometry.GetMaxWidth ( )

Getting the maximum width limit.

Returns
Maximum width limit of the item.

Implements SpaceVIL.Core.ISize.

◆ GetMinHeight()

int SpaceVIL.Core.Geometry.GetMinHeight ( )

Getting the minimum height limit.

Returns
Minimum height limit of the item.

Implements SpaceVIL.Core.ISize.

◆ GetMinWidth()

int SpaceVIL.Core.Geometry.GetMinWidth ( )

Getting the minimum width limit.

Returns
Minimum width limit of the item.

Implements SpaceVIL.Core.ISize.

◆ GetSize()

Size SpaceVIL.Core.Geometry.GetSize ( )

Getting current item size.

Returns
Item size as SpaceVIL.Core.Size.

Implements SpaceVIL.Core.ISize.

◆ GetWidth()

int SpaceVIL.Core.Geometry.GetWidth ( )

Getting item width.

Returns
Width of the item.

Implements SpaceVIL.Core.ISize.

◆ SetHeight()

void SpaceVIL.Core.Geometry.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.

Parameters
heightHeight of the item.

Implements SpaceVIL.Core.ISize.

◆ SetMaxHeight()

void SpaceVIL.Core.Geometry.SetMaxHeight ( int  height)

Setting the maximum height limit. Actual height cannot be greater than this limit.

Parameters
heightMaximum height limit of the item.

Implements SpaceVIL.Core.ISize.

◆ SetMaxWidth()

void SpaceVIL.Core.Geometry.SetMaxWidth ( int  width)

Setting the maximum width limit. Actual width cannot be greater than this limit.

Parameters
widthMaximum width limit of the item.

Implements SpaceVIL.Core.ISize.

◆ SetMinHeight()

void SpaceVIL.Core.Geometry.SetMinHeight ( int  height)

Setting the minimum height limit. Actual height cannot be less than this limit.

Parameters
heightMinimum height limit of the item.

Implements SpaceVIL.Core.ISize.

◆ SetMinWidth()

void SpaceVIL.Core.Geometry.SetMinWidth ( int  width)

Setting the minimum width limit. Actual width cannot be less than this limit.

Parameters
widthMinimum width limit of the item.

Implements SpaceVIL.Core.ISize.

◆ SetSize()

void SpaceVIL.Core.Geometry.SetSize ( int  width,
int  height 
)

Setting item size (width and height).

Parameters
widthWidth of the item.
heightHeight of the item.

Implements SpaceVIL.Core.ISize.

◆ SetWidth()

void SpaceVIL.Core.Geometry.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.

Parameters
widthWidth of the item.

Implements SpaceVIL.Core.ISize.


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