Scene2DSkin

Utility storage for global Skin object. The skin will be used by the widget factory methods by default if no custom alternative skin instance is passed as an alternative.

Properties

Link copied to clipboard
var defaultSkin: Skin

Used by the factory methods by default if no custom Skin is passed. Changing this value immediately invokes all registered listeners. Throws IllegalStateException when accessed before overriding.

Functions

Link copied to clipboard
fun addListener(listener: (Skin) -> Unit)
Link copied to clipboard

Removes all skin reload listeners.

Link copied to clipboard
fun removeListener(listener: (Skin) -> Unit)