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

Scale is a class that describes the scaling factors along the X and Y axes. More...

Public Member Functions

 Scale ()
 Default Scale constructor. All scaling factors are 1. More...
 
 Scale (float xScale, float yScale)
 Constructs Scale with specified scaling factors. More...
 
void SetScale (float xScale, float yScale)
 Setting scaling factors. More...
 
float GetXScale ()
 Getting scaling factor by X axis. More...
 
float GetYScale ()
 Getting scaling factor by Y axis. More...
 
override string ToString ()
 

Detailed Description

Scale is a class that describes the scaling factors along the X and Y axes.

Constructor & Destructor Documentation

◆ Scale() [1/2]

SpaceVIL.Core.Scale.Scale ( )

Default Scale constructor. All scaling factors are 1.

◆ Scale() [2/2]

SpaceVIL.Core.Scale.Scale ( float  xScale,
float  yScale 
)

Constructs Scale with specified scaling factors.

Parameters
xScaleScaling factor by X axis.
yScaleScaling factor by Y axis.

Member Function Documentation

◆ GetXScale()

float SpaceVIL.Core.Scale.GetXScale ( )

Getting scaling factor by X axis.

Returns
Scaling factor by X axis.

◆ GetYScale()

float SpaceVIL.Core.Scale.GetYScale ( )

Getting scaling factor by Y axis.

Returns
Scaling factor by Y axis.

◆ SetScale()

void SpaceVIL.Core.Scale.SetScale ( float  xScale,
float  yScale 
)

Setting scaling factors.

Parameters
xScaleScaling factor by X axis.
yScaleScaling factor by Y axis.

◆ ToString()

override string SpaceVIL.Core.Scale.ToString ( )

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