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.Decorations.Border Class Reference

Border is a class that decorates item's shape with border. More...

Public Member Functions

CornerRadius GetRadius ()
 Getting border radiuses. More...
 
void SetRadius (CornerRadius value)
 Setting radius of the border's corners. More...
 
Color GetFill ()
 Getting the border color oa an item's shape. More...
 
void SetFill (Color fill)
 Setting the border color of an item's shape. More...
 
int GetThickness ()
 Getting border thickness of an item's shape. More...
 
void SetThickness (int thickness)
 Setting border thickness of an item's shape. More...
 
 Border ()
 Default Border constructor. More...
 
 Border (Color fill, CornerRadius radius, int thickness)
 Constructs a Border with specified color, radius and thickness. More...
 

Public Attributes

bool IsVisible = false
 Propery that defines if border is visible More...
 

Detailed Description

Border is a class that decorates item's shape with border.

Constructor & Destructor Documentation

◆ Border() [1/2]

SpaceVIL.Decorations.Border.Border ( )

Default Border constructor.

◆ Border() [2/2]

SpaceVIL.Decorations.Border.Border ( Color  fill,
CornerRadius  radius,
int  thickness 
)

Constructs a Border with specified color, radius and thickness.

Parameters
fillBorder color as System.Drawing.Color.
radiusRadiuses of the border's corners as SpaceVIL.Decorations.CornerRadius.
thicknessBorder thickness.

Member Function Documentation

◆ GetFill()

Color SpaceVIL.Decorations.Border.GetFill ( )

Getting the border color oa an item's shape.

Returns
Border color as System.Drawing.Color.

◆ GetRadius()

CornerRadius SpaceVIL.Decorations.Border.GetRadius ( )

Getting border radiuses.

Returns
Border radiuses as SpaceVIL.Decorations.CornerRadius.

◆ GetThickness()

int SpaceVIL.Decorations.Border.GetThickness ( )

Getting border thickness of an item's shape.

Returns
Border thickness.

◆ SetFill()

void SpaceVIL.Decorations.Border.SetFill ( Color  fill)

Setting the border color of an item's shape.

Parameters
fillBorder color as System.Drawing.Color.

◆ SetRadius()

void SpaceVIL.Decorations.Border.SetRadius ( CornerRadius  value)

Setting radius of the border's corners.

Parameters
valueRadiuses of the border's corners as SpaceVIL.Decorations.CornerRadius.

◆ SetThickness()

void SpaceVIL.Decorations.Border.SetThickness ( int  thickness)

Setting border thickness of an item's shape.

Parameters
thicknessBorder thickness.

Member Data Documentation

◆ IsVisible

bool SpaceVIL.Decorations.Border.IsVisible = false

Propery that defines if border is visible


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