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.CornerRadius Class Reference

A class that store radius values for each corner of the rectangle shape. More...

Public Member Functions

boolean isCornersZero ()
 Checking if all corner radiuses is 0. More...
 
boolean isEqual ()
 
 CornerRadius (CornerRadius radius)
 Constructs a CornerRadius with the radius values from other CornerRadius object. More...
 
 CornerRadius ()
 Constructs a CornerRadius with default radius values ( = 0) for each corner. More...
 
 CornerRadius (float radius)
 Constructs a CornerRadius with the same radius values for each corner of the rectangle object. More...
 
 CornerRadius (float leftTop, float rightTop, float leftBottom, float rightBottom)
 Constructs a CornerRadius with the radius values for each corner of the rectangle object. More...
 
boolean equals (Object obj)
 

Public Attributes

float leftTop
 Left-top corner radius. More...
 
float rightTop
 Right-top corner radius. More...
 
float leftBottom
 Left-bottom corner radius. More...
 
float rightBottom
 Right-bottom corner radius. More...
 

Detailed Description

A class that store radius values for each corner of the rectangle shape.

Constructor & Destructor Documentation

◆ CornerRadius() [1/4]

com.spvessel.spacevil.Decorations.CornerRadius.CornerRadius ( CornerRadius  radius)

Constructs a CornerRadius with the radius values from other CornerRadius object.

Parameters
radiusRadius values as com.spvessel.spacevil.Decorations.CornerRadius.

◆ CornerRadius() [2/4]

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

Constructs a CornerRadius with default radius values ( = 0) for each corner.

◆ CornerRadius() [3/4]

com.spvessel.spacevil.Decorations.CornerRadius.CornerRadius ( float  radius)

Constructs a CornerRadius with the same radius values for each corner of the rectangle object.

Parameters
radiusRadius of the item's corners.

◆ CornerRadius() [4/4]

com.spvessel.spacevil.Decorations.CornerRadius.CornerRadius ( float  leftTop,
float  rightTop,
float  leftBottom,
float  rightBottom 
)

Constructs a CornerRadius with the radius values for each corner of the rectangle object.

Parameters
leftTopLeft-top corner radius.
rightTopRight-top corner radius.
leftBottomLeft-bottom corner radius.
rightBottomRight-bottom corner radius.

Member Function Documentation

◆ equals()

boolean com.spvessel.spacevil.Decorations.CornerRadius.equals ( Object  obj)

◆ isCornersZero()

boolean com.spvessel.spacevil.Decorations.CornerRadius.isCornersZero ( )

Checking if all corner radiuses is 0.

Returns
True: if all corner radiuses is 0. False: if one of the corner radiuses is not 0.

◆ isEqual()

boolean com.spvessel.spacevil.Decorations.CornerRadius.isEqual ( )

Member Data Documentation

◆ leftBottom

float com.spvessel.spacevil.Decorations.CornerRadius.leftBottom

Left-bottom corner radius.

◆ leftTop

float com.spvessel.spacevil.Decorations.CornerRadius.leftTop

Left-top corner radius.

◆ rightBottom

float com.spvessel.spacevil.Decorations.CornerRadius.rightBottom

Right-bottom corner radius.

◆ rightTop

float com.spvessel.spacevil.Decorations.CornerRadius.rightTop

Right-top corner radius.


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