Scale is a class that describes the scaling factors along the X and Y axes.
More...
Scale is a class that describes the scaling factors along the X and Y axes.
◆ 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
-
xScale | Scaling factor by X axis. |
yScale | Scaling factor by Y axis. |
◆ 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
-
xScale | Scaling factor by X axis. |
yScale | Scaling factor by Y axis. |
◆ ToString()
override string SpaceVIL.Core.Scale.ToString |
( |
| ) |
|
The documentation for this class was generated from the following file: