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

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

Inherited by 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 (params ItemAlignment[] alignments)
 Method for setting shape's allignment within the item. More...
 
ItemAlignment GetAlignment ()
 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()

ItemAlignment SpaceVIL.Core.ISubtractFigure.GetAlignment ( )

Method for getting shape's allignment within the item.

Returns
Alignment as SpaceVIL.Core.ItemAlignment.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ GetHeightScale()

float SpaceVIL.Core.ISubtractFigure.GetHeightScale ( )

Method for getting height scaling.

Returns
Height scaling.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ GetSubtractFigure()

Figure SpaceVIL.Core.ISubtractFigure.GetSubtractFigure ( )

Method for getting the current figure for subtraction.

Returns
Figure for subtraction as SpaceVIL.Decoratons.Figure.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ GetWidthScale()

float SpaceVIL.Core.ISubtractFigure.GetWidthScale ( )

Method for getting width scaling.

Returns
Width scaling.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ GetXOffset()

int SpaceVIL.Core.ISubtractFigure.GetXOffset ( )

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

Returns
X axis shift.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ GetYOffset()

int SpaceVIL.Core.ISubtractFigure.GetYOffset ( )

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

Returns
Y axis shift.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ SetAlignment()

void SpaceVIL.Core.ISubtractFigure.SetAlignment ( params ItemAlignment[]  alignments)

Method for setting shape's allignment within the item.

Parameters
alignmentsAlignment as SpaceVIL.Core.ItemAlignment.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ SetPositionOffset()

void SpaceVIL.Core.ISubtractFigure.SetPositionOffset ( int  x,
int  y 
)

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

Parameters
xX axis shift.
yY axis shift.

Implemented in SpaceVIL.Decorations.SubtractFigure.

◆ SetSizeScale()

void SpaceVIL.Core.ISubtractFigure.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 SpaceVIL.Decorations.SubtractFigure.

◆ SetSubtractFigure()

void SpaceVIL.Core.ISubtractFigure.SetSubtractFigure ( Figure  figure)

Method for setting shape for subtraction.

Parameters
figureFigure for subtraction as SpaceVIL.Decoratons.Figure.

Implemented in SpaceVIL.Decorations.SubtractFigure.


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