positions

fun positions(value: BackgroundPositionContext.() -> Unit)

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

See also

dev.fritz2.styling.params.BackgroundPositionContext

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

Parameters

value

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