origin

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

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

Example call

background {
origin { contentBox }
}

Parameters

value

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