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

An interface that describes the alignment of the item and size policy of the item. This interface is part of SpaceVIL.Core.IBaseItem. More...

Inherited by SpaceVIL.Core.IBaseItem.

Public Member Functions

void SetAlignment (ItemAlignment alignment)
 Setting an alignment of an item's shape relative to its container. Combines with alignment by vertically (Top, VCenter, Bottom) and horizontally (Left, HCenter, Right). More...
 
ItemAlignment GetAlignment ()
 Getting an alignment of an item's shape relative to its container. More...
 
void SetWidthPolicy (SizePolicy policy)
 Setting width policy of an item's shape. Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space). More...
 
SizePolicy GetWidthPolicy ()
 Getting width policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space). More...
 
void SetHeightPolicy (SizePolicy policy)
 Setting height policy of an item's shape. Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space). More...
 
SizePolicy GetHeightPolicy ()
 Getting height policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space). More...
 

Detailed Description

An interface that describes the alignment of the item and size policy of the item.

This interface is part of SpaceVIL.Core.IBaseItem.

Member Function Documentation

◆ GetAlignment()

ItemAlignment SpaceVIL.Core.IBehavior.GetAlignment ( )

Getting an alignment of an item's shape relative to its container.

Returns
Alignment as SpaceVIL.Core.ItemAlignment.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ GetHeightPolicy()

SizePolicy SpaceVIL.Core.IBehavior.GetHeightPolicy ( )

Getting height policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).

Returns
Height policy as SpaceVIL.Core.SizePolicy.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ GetWidthPolicy()

SizePolicy SpaceVIL.Core.IBehavior.GetWidthPolicy ( )

Getting width policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).

Returns
Width policy as SpaceVIL.Core.SizePolicy.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ SetAlignment()

void SpaceVIL.Core.IBehavior.SetAlignment ( ItemAlignment  alignment)

Setting an alignment of an item's shape relative to its container. Combines with alignment by vertically (Top, VCenter, Bottom) and horizontally (Left, HCenter, Right).

Parameters
alignmentAlignment as SpaceVIL.Core.ItemAlignment.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ SetHeightPolicy()

void SpaceVIL.Core.IBehavior.SetHeightPolicy ( SizePolicy  policy)

Setting height policy of an item's shape. Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).

Parameters
policyHeight policy as SpaceVIL.Core.SizePolicy.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ SetWidthPolicy()

void SpaceVIL.Core.IBehavior.SetWidthPolicy ( SizePolicy  policy)

Setting width policy of an item's shape. Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).

Parameters
policyWidth policy as SpaceVIL.Core.SizePolicy.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.


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