tModLoader v2024.09
A mod to make and play Terraria mods
|
Public Member Functions | |
StyleDimension (float pixels, float precent) | |
float | GetValue (float containerSize) |
void | Set (float pixels, float precent) |
Static Public Member Functions | |
static StyleDimension | FromPercent (float percent) |
static StyleDimension | FromPixels (float pixels) |
static StyleDimension | FromPixelsAndPercent (float pixels, float percent) |
Public Attributes | |
float | Pixels |
float | Precent |
Static Public Attributes | |
static StyleDimension | Empty = new StyleDimension(0f, 0f) |
static StyleDimension | Fill = new StyleDimension(0f, 1f) |
Properties | |
float | Percent [get, set] |