radii

open fun radii(value: RadiiContext.() -> Unit)

This function opens the context for defining the radius related properties for each corner independently for all media devices.

Example call:

radii {
// some functions of [RadiiContext] with appropriate values for *all devices*
}

Parameters

value

extension function parameter to bring the specialized corner or side related functions of the RadiiContext into the scope of the functional expression

open fun radii(sm: RadiiContext.() -> Unit? = null, md: RadiiContext.() -> Unit? = null, lg: RadiiContext.() -> Unit? = null, xl: RadiiContext.() -> Unit? = null)

This function opens the context for defining the radius related properties for each corner and for each media device independently

Example call:

radii(
sm = {
// some functions of [RadiiContext] with appropriate values for *all devices*
},
lg = {
// some functions of [RadiiContext] with appropriate values for *all devices*
}
}

Parameters

lg

extension function parameter to bring the specialized corner or side related functions of the RadiiContext into the scope of the functional expression for large media devices

md

extension function parameter to bring the specialized corner or side related functions of the RadiiContext into the scope of the functional expression for medium sized media devices

sm

extension function parameter to bring the specialized corner or side related functions of the RadiiContext into the scope of the functional expression for small media devices

xl

extension function parameter to bring the specialized corner or side related functions of the RadiiContext into the scope of the functional expression for extra large media devices