clip

fun clip(value: BackgroundBoxValues.() -> BackgroundBoxProperty)

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

Example call

background {
clip { contentBox }
}

Parameters

value

extension function parameter to bring the predefined origin values in BackgroundBoxValues into the scope of the functional expression