repeat

fun repeat(value: BackgroundRepeats.() -> BackgroundRepeatProperty)

This function is used to set the background-repeat property. Predefined values are offered by BackgroundRepeats.

Example call

background {
repeat { noRepeat }
}

Parameters

value

extension function parameter to bring the predefined repeat values in BackgroundBlendModes into the scope of the functional expression