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

An interface that describes common item's properties. This interface is part of SpaceVIL.Core.IBaseItem. More...

Inherited by SpaceVIL.Core.IBaseItem.

Public Member Functions

void SetItemName (string name)
 Method for setting the name of the item. More...
 
string GetItemName ()
 Method for getting the name of the item. More...
 
void SetBackground (Color color)
 Method for setting background color. More...
 
Color GetBackground ()
 Method for getting background color. More...
 
List< float[]> GetTriangles ()
 Method for getting triangles of item's shape. More...
 
void SetTriangles (List< float[]> triangles)
 Method for setting triangles as item's shape. More...
 
void MakeShape ()
 Method for making default item's shape. Use in conjunction with GetTriangles() and SetTriangles() methods. More...
 

Detailed Description

An interface that describes common item's properties.

This interface is part of SpaceVIL.Core.IBaseItem.

Member Function Documentation

◆ GetBackground()

Color SpaceVIL.Core.IItem.GetBackground ( )

Method for getting background color.

Returns
Background color as System.Drawing.Color.

Implemented in SpaceVIL.Prototype, SpaceVIL.SpinItem, and SpaceVIL.BaseItem.

◆ GetItemName()

string SpaceVIL.Core.IItem.GetItemName ( )

Method for getting the name of the item.

Returns
Item name as System.String.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ GetTriangles()

List<float[]> SpaceVIL.Core.IItem.GetTriangles ( )

Method for getting triangles of item's shape.

Returns
Points list of the shape as List of float[2] array (2D).

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ MakeShape()

void SpaceVIL.Core.IItem.MakeShape ( )

◆ SetBackground()

void SpaceVIL.Core.IItem.SetBackground ( Color  color)

Method for setting background color.

Parameters
colorBackground color as System.Drawing.Color.

Implemented in SpaceVIL.Prototype, SpaceVIL.SpinItem, and SpaceVIL.BaseItem.

◆ SetItemName()

void SpaceVIL.Core.IItem.SetItemName ( string  name)

Method for setting the name of the item.

Parameters
nameItem name as System.String.

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.

◆ SetTriangles()

void SpaceVIL.Core.IItem.SetTriangles ( List< float[]>  triangles)

Method for setting triangles as item's shape.

Parameters
trianglesPoints list of the shape as List of float[2] array (2D).

Implemented in SpaceVIL.Prototype, and SpaceVIL.BaseItem.


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