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.ISize Interface Reference

An interface that describes the attributes of the size of a shape. This interface is part of SpaceVIL.Core.IBaseItem. More...

Inherited by SpaceVIL.Core.Geometry, and SpaceVIL.Core.IBaseItem.

Public Member Functions

void SetSize (int width, int height)
 Method setting size of an item's shape. More...
 
Size GetSize ()
 Method getting size of an item's shape. More...
 
void SetMinWidth (int width)
 Method setting the minimum width limit. Actual width cannot be less than this limit. More...
 
void SetWidth (int width)
 Method 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...
 
void SetMaxWidth (int width)
 Method setting the maximum width limit. Actual width cannot be greater than this limit. More...
 
int GetMinWidth ()
 Method getting the minimum width limit. More...
 
int GetWidth ()
 Method fetting item width. More...
 
int GetMaxWidth ()
 Method getting the maximum width limit. More...
 
void SetMinHeight (int height)
 Method for setting the minimum height limit. Actual height cannot be less than this limit. More...
 
void SetHeight (int height)
 Method for 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...
 
void SetMaxHeight (int height)
 Method for setting the maximum height limit. Actual height cannot be greater than this limit. More...
 
int GetMinHeight ()
 Method for getting the minimum height limit. More...
 
int GetHeight ()
 Method for getting item height. More...
 
int GetMaxHeight ()
 Method for getting the maximum height limit. More...
 

Detailed Description

An interface that describes the attributes of the size of a shape.

This interface is part of SpaceVIL.Core.IBaseItem.

Member Function Documentation

◆ GetHeight()

int SpaceVIL.Core.ISize.GetHeight ( )

Method for getting item height.

Returns
Height of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ GetMaxHeight()

int SpaceVIL.Core.ISize.GetMaxHeight ( )

Method for getting the maximum height limit.

Returns
Maximum height limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ GetMaxWidth()

int SpaceVIL.Core.ISize.GetMaxWidth ( )

Method getting the maximum width limit.

Returns
Maximum width limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ GetMinHeight()

int SpaceVIL.Core.ISize.GetMinHeight ( )

Method for getting the minimum height limit.

Returns
Minimum height limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ GetMinWidth()

int SpaceVIL.Core.ISize.GetMinWidth ( )

Method getting the minimum width limit.

Returns
Minimum width limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ GetSize()

Size SpaceVIL.Core.ISize.GetSize ( )

Method getting size of an item's shape.

Returns
Size of the shape as SpaceVIL.Core.Size.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ GetWidth()

int SpaceVIL.Core.ISize.GetWidth ( )

Method fetting item width.

Returns
Width of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ SetHeight()

void SpaceVIL.Core.ISize.SetHeight ( int  height)

Method for 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.

Implemented in SpaceVIL.Prototype, SpaceVIL.WrapGrid, SpaceVIL.TextView, SpaceVIL.ListBox, SpaceVIL.BaseItem, SpaceVIL.TextArea, SpaceVIL.ResizableItem, SpaceVIL.Grid, SpaceVIL.ImageItem, SpaceVIL.SideArea, SpaceVIL.Core.Geometry, SpaceVIL.HorizontalSplitArea, and SpaceVIL.VerticalStack.

◆ SetMaxHeight()

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

Method for setting the maximum height limit. Actual height cannot be greater than this limit.

Parameters
heightMaximum height limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ SetMaxWidth()

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

Method setting the maximum width limit. Actual width cannot be greater than this limit.

Parameters
widthMaximum width limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ SetMinHeight()

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

Method for setting the minimum height limit. Actual height cannot be less than this limit.

Parameters
heightMinimum height limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ SetMinWidth()

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

Method setting the minimum width limit. Actual width cannot be less than this limit.

Parameters
widthMinimum width limit of the item.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, and SpaceVIL.Core.Geometry.

◆ SetSize()

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

Method setting size of an item's shape.

Parameters
widthWidth of a shape.
heightHeight of a shape.

Implemented in SpaceVIL.Prototype, SpaceVIL.BaseItem, SpaceVIL.ImageItem, and SpaceVIL.Core.Geometry.

◆ SetWidth()

void SpaceVIL.Core.ISize.SetWidth ( int  width)

Method 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.

Implemented in SpaceVIL.WrapGrid, SpaceVIL.Prototype, SpaceVIL.TextView, SpaceVIL.ListBox, SpaceVIL.Label, SpaceVIL.TreeItem, SpaceVIL.BaseItem, SpaceVIL.ProgressBar, SpaceVIL.TextArea, SpaceVIL.ResizableItem, SpaceVIL.Grid, SpaceVIL.ImageItem, SpaceVIL.SideArea, SpaceVIL.VerticalSplitArea, SpaceVIL.HorizontalStack, and SpaceVIL.Core.Geometry.


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