Reference for JVM 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.
com.spvessel.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 color)
 Setting the border color of an item's shape. More...
 
int getThickness ()
 Getting border thickness of an item's shape. More...
 
void setThickness (int value)
 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

boolean 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]

com.spvessel.spacevil.Decorations.Border.Border ( )

Default Border constructor.

◆ Border() [2/2]

com.spvessel.spacevil.Decorations.Border.Border ( Color  fill,
CornerRadius  radius,
int  thickness 
)

Constructs a Border with specified color, radius and thickness.

Parameters
fillBorder color as java.awt.Color.
radiusRadiuses of the border's corners as com.spvessel.spacevil.Decorations.CornerRadius.
thicknessBorder thickness.

Member Function Documentation

◆ getFill()

Color com.spvessel.spacevil.Decorations.Border.getFill ( )

Getting the border color oa an item's shape.

Returns
Border color as java.awt.Color.

◆ getRadius()

CornerRadius com.spvessel.spacevil.Decorations.Border.getRadius ( )

Getting border radiuses.

Returns
Border radiuses as com.spvessel.spacevil.Decorations.CornerRadius.

◆ getThickness()

int com.spvessel.spacevil.Decorations.Border.getThickness ( )

Getting border thickness of an item's shape.

Returns
Border thickness.

◆ setFill()

void com.spvessel.spacevil.Decorations.Border.setFill ( Color  color)

Setting the border color of an item's shape.

Parameters
colorBorder color as java.awt.Color.

◆ setRadius()

void com.spvessel.spacevil.Decorations.Border.setRadius ( CornerRadius  value)

Setting radius of the border's corners.

Parameters
valueRadiuses of the border's corners as com.spvessel.spacevil.Decorations.CornerRadius.

◆ setThickness()

void com.spvessel.spacevil.Decorations.Border.setThickness ( int  value)

Setting border thickness of an item's shape.

Parameters
valueBorder thickness.

Member Data Documentation

◆ isVisible

boolean com.spvessel.spacevil.Decorations.Border.isVisible = false

Propery that defines if border is visible.


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