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.
|
SubtractFigure is visual effect for applying to item's shape. More...
Inherits com.spvessel.spacevil.Core.InterfaceSubtractFigure, and com.spvessel.spacevil.Core.InterfaceEffect.
Public Member Functions | |
SubtractFigure (Figure figure) | |
Constructs subtract effect with specified shape. More... | |
void | setSubtractFigure (Figure figure) |
Setting shape for subtraction. More... | |
Figure | getSubtractFigure () |
Getting the current figure for subtraction. More... | |
String | getEffectName () |
Getting the effect name. More... | |
void | setPositionOffset (int x, int y) |
Setting shape's shift by X, Y axis. More... | |
void | setSizeScale (float wScale, float hScale) |
Setting shape's scaling factors for width and height. More... | |
int | getXOffset () |
Getting shape's shift by X-axis. More... | |
int | getYOffset () |
Getting shape's shift by Y-axis. More... | |
float | getWidthScale () |
Getting width scaling. More... | |
float | getHeightScale () |
Getting height scaling. More... | |
List< ItemAlignment > | getAlignment () |
Getting shape's allignment within the item. More... | |
void | setAlignment (ItemAlignment... alignments) |
Setting shape's allignment within the item. More... | |
SubtractFigure is visual effect for applying to item's shape.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure and com.spvessel.spacevil.Core.InterfaceEffect.
This visual effect cuts specified shape from original item's shape.
com.spvessel.spacevil.Decorations.SubtractFigure.SubtractFigure | ( | Figure | figure | ) |
Constructs subtract effect with specified shape.
figure | Figure for subtraction as com.spvessel.spacevil.Decorations.Figure. |
List<ItemAlignment> com.spvessel.spacevil.Decorations.SubtractFigure.getAlignment | ( | ) |
Getting shape's allignment within the item.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
String com.spvessel.spacevil.Decorations.SubtractFigure.getEffectName | ( | ) |
Getting the effect name.
Implements com.spvessel.spacevil.Core.InterfaceEffect.
float com.spvessel.spacevil.Decorations.SubtractFigure.getHeightScale | ( | ) |
Getting height scaling.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
Figure com.spvessel.spacevil.Decorations.SubtractFigure.getSubtractFigure | ( | ) |
Getting the current figure for subtraction.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
float com.spvessel.spacevil.Decorations.SubtractFigure.getWidthScale | ( | ) |
Getting width scaling.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
int com.spvessel.spacevil.Decorations.SubtractFigure.getXOffset | ( | ) |
Getting shape's shift by X-axis.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
int com.spvessel.spacevil.Decorations.SubtractFigure.getYOffset | ( | ) |
Getting shape's shift by Y-axis.
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
void com.spvessel.spacevil.Decorations.SubtractFigure.setAlignment | ( | ItemAlignment... | alignments | ) |
Setting shape's allignment within the item.
alignments | Alignment as com.spvessel.spacevil.Flags.ItemAlignment. |
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
void com.spvessel.spacevil.Decorations.SubtractFigure.setPositionOffset | ( | int | x, |
int | y | ||
) |
Setting shape's shift by X, Y axis.
x | X axis shift. |
y | Y axis shift. |
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
void com.spvessel.spacevil.Decorations.SubtractFigure.setSizeScale | ( | float | wScale, |
float | hScale | ||
) |
Setting shape's scaling factors for width and height.
wScale | Scaling factor for width. |
hScale | Scaling factor for height. |
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.
void com.spvessel.spacevil.Decorations.SubtractFigure.setSubtractFigure | ( | Figure | figure | ) |
Setting shape for subtraction.
figure | Figure for subtraction as com.spvessel.spacevil.Decorations.Figure. |
Implements com.spvessel.spacevil.Core.InterfaceSubtractFigure.