sizes

inline fun Skin.sizes(name: String = defaultStyle, extend: String? = null, init: Sizes.() -> Unit = {}): Sizes

Return

a new instance of Sizes added to the Skin with the selected name.

Parameters

name

name of the sizes preference as it will appear in the Skin instance.

extend

optional name of an existing sizes container. Its values will be copied and used as base for this container.

init

will be applied to the Sizes instance. Inlined.