Package org.polyfrost.polyui.unit
Class Unit
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumUnit.Typepublic final classUnit.Pixelpixel unit. It is just a wrapper for a float to be honest, it's that simple.
public final classUnit.Centerpublic final classUnit.Siblingpublic final classUnit.Percenta dynamic unit, that is a percentage of its parents size.
public final classUnit.VUnitsviewport-specific units.
public final classUnit.Flexrepresents the index of a flex component
public final classUnit.GridRepresents a grid component.
public interfaceUnit.Concretespecify a unit as an always present value that does not change.
public interfaceUnit.Dynamicspecify a unit as something that is dependent on another value.
public interfaceUnit.Dynamic2
-
Method Summary
-
-
Constructor Detail
-
Unit
Unit(Unit.Type type)
-
-
-
-