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.Core.InterfaceSubtractFigure Interface Reference

An interface that describes visual effect which cuts specified shape from original item's shape. More...

Inherited by com.spvessel.spacevil.Decorations.SubtractFigure.

Public Member Functions

void setSubtractFigure (Figure figure)
 Method for setting shape for subtraction. More...
 
Figure getSubtractFigure ()
 Method for getting the current figure for subtraction. More...
 
void setPositionOffset (int x, int y)
 Method for setting shape's shift by X, Y axis. More...
 
void setSizeScale (float wScale, float hScale)
 Method for setting shape's scaling factors for width and height. More...
 
int getXOffset ()
 Method for getting shape's shift by X-axis. More...
 
int getYOffset ()
 Method for getting shape's shift by Y-axis. More...
 
float getWidthScale ()
 Method for getting width scaling. More...
 
float getHeightScale ()
 Method for getting height scaling. More...
 
void setAlignment (ItemAlignment... alignment)
 Method for setting shape's allignment within the item. More...
 
List< ItemAlignmentgetAlignment ()
 Method for getting shape's allignment within the item. More...
 

Detailed Description

An interface that describes visual effect which cuts specified shape from original item's shape.

Member Function Documentation

◆ getAlignment()

List<ItemAlignment> com.spvessel.spacevil.Core.InterfaceSubtractFigure.getAlignment ( )

Method for getting shape's allignment within the item.

Returns
Alignment as com.spvessel.spacevil.Flags.ItemAlignment.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ getHeightScale()

float com.spvessel.spacevil.Core.InterfaceSubtractFigure.getHeightScale ( )

Method for getting height scaling.

Returns
Height scaling.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ getSubtractFigure()

Figure com.spvessel.spacevil.Core.InterfaceSubtractFigure.getSubtractFigure ( )

Method for getting the current figure for subtraction.

Returns
Figure for subtraction as com.spvessel.spacevil.Decorations.Figure.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ getWidthScale()

float com.spvessel.spacevil.Core.InterfaceSubtractFigure.getWidthScale ( )

Method for getting width scaling.

Returns
Width scaling.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ getXOffset()

int com.spvessel.spacevil.Core.InterfaceSubtractFigure.getXOffset ( )

Method for getting shape's shift by X-axis.

Returns
X axis shift.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ getYOffset()

int com.spvessel.spacevil.Core.InterfaceSubtractFigure.getYOffset ( )

Method for getting shape's shift by Y-axis.

Returns
Y axis shift.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ setAlignment()

void com.spvessel.spacevil.Core.InterfaceSubtractFigure.setAlignment ( ItemAlignment...  alignment)

Method for setting shape's allignment within the item.

Parameters
alignmentAlignment as com.spvessel.spacevil.Flags.ItemAlignment.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ setPositionOffset()

void com.spvessel.spacevil.Core.InterfaceSubtractFigure.setPositionOffset ( int  x,
int  y 
)

Method for setting shape's shift by X, Y axis.

Parameters
xX axis shift.
yY axis shift.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ setSizeScale()

void com.spvessel.spacevil.Core.InterfaceSubtractFigure.setSizeScale ( float  wScale,
float  hScale 
)

Method for setting shape's scaling factors for width and height.

Parameters
wScaleScaling factor for width.
hScaleScaling factor for height.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.

◆ setSubtractFigure()

void com.spvessel.spacevil.Core.InterfaceSubtractFigure.setSubtractFigure ( Figure  figure)

Method for setting shape for subtraction.

Parameters
figureFigure for subtraction as com.spvessel.spacevil.Decorations.Figure.

Implemented in com.spvessel.spacevil.Decorations.SubtractFigure.


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