This class contains all data related to the element's style.
- 
To learn more about how to create custom themes, please take a look at Wiki: Themes.
 - 
To get an overview of what the different variables do in detail, please refer to Wiki: Elements.
 
Static variables
Static methods
staticinlinegetStyle(tID:String, state:String = "default"):Null<Style>
Return the style object for the given tID, or null if it does not
exist.
privatestaticinit():Void
Initialize the values of all style objects. The content of this method
is generated by the ThemeUtil.buildStyle() macro.
staticinlinemakeOverride(styleGroup:Dynamic, overrideProp:String, newValue:Dynamic):Dynamic
Override a property from the style.
Parameters:
styleGroup | The group, e.g.   | 
|---|---|
overrideProp | The name of the property inside that group  | 
newValue | The new value  | 
Returns:
The old, overridden value (to undo the override later)
See also:
staticinlinewithOverride(styleGroup:Dynamic, overrideProp:String, newValue:Dynamic, action:() ‑> Void):Void
Python-like context manager to execute the given function while overriding a property from the style. After the execution, the property is reset to its state before calling this function.
Parameters:
styleGroup | The group, e.g.   | 
|---|---|
overrideProp | The name of the property inside that group  | 
newValue | The new value  | 
action | Function to execute while the override is active  | 
See also: