sizes

fun sizes(value: BackgroundSizeContext.() -> Unit)

This function opens a sub scope in order to set the two dimensions (horizontal and vertical) of the background size independently.

See also

BackgroundSizeContext

If you just want to set first dimension, use size instead.

Parameters

value

extension function parameter in order to bring the nested context into the scope of the functional expression.