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.
|
SubtractFigure is visual effect for applying to item's shape. Implements SpaceVIL.Core.ISubtractFigure and SpaceVIL.Core.IEffect. This visual effect cuts specified shape from original item's shape. More...
Inherits SpaceVIL.Core.ISubtractFigure, and SpaceVIL.Core.IEffect.
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... | |
ItemAlignment | GetAlignment () |
Getting shape's allignment within the item. More... | |
void | SetAlignment (params ItemAlignment[] alignments) |
Setting shape's allignment within the item. More... | |
SubtractFigure is visual effect for applying to item's shape. Implements SpaceVIL.Core.ISubtractFigure and SpaceVIL.Core.IEffect.
This visual effect cuts specified shape from original item's shape.
SpaceVIL.Decorations.SubtractFigure.SubtractFigure | ( | Figure | figure | ) |
Constructs subtract effect with specified shape.
figure | Figure for subtraction as SpaceVIL.Decoratons.Figure. |
ItemAlignment SpaceVIL.Decorations.SubtractFigure.GetAlignment | ( | ) |
Getting shape's allignment within the item.
Implements SpaceVIL.Core.ISubtractFigure.
string SpaceVIL.Decorations.SubtractFigure.GetEffectName | ( | ) |
Getting the effect name.
Implements SpaceVIL.Core.IEffect.
float SpaceVIL.Decorations.SubtractFigure.GetHeightScale | ( | ) |
Figure SpaceVIL.Decorations.SubtractFigure.GetSubtractFigure | ( | ) |
Getting the current figure for subtraction.
Implements SpaceVIL.Core.ISubtractFigure.
float SpaceVIL.Decorations.SubtractFigure.GetWidthScale | ( | ) |
int SpaceVIL.Decorations.SubtractFigure.GetXOffset | ( | ) |
int SpaceVIL.Decorations.SubtractFigure.GetYOffset | ( | ) |
void SpaceVIL.Decorations.SubtractFigure.SetAlignment | ( | params ItemAlignment[] | alignments | ) |
Setting shape's allignment within the item.
alignments | Alignment as SpaceVIL.Core.ItemAlignment. |
Implements SpaceVIL.Core.ISubtractFigure.
void 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 SpaceVIL.Core.ISubtractFigure.
void 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 SpaceVIL.Core.ISubtractFigure.
void SpaceVIL.Decorations.SubtractFigure.SetSubtractFigure | ( | Figure | figure | ) |
Setting shape for subtraction.
figure | Figure for subtraction as SpaceVIL.Decoratons.Figure. |
Implements SpaceVIL.Core.ISubtractFigure.