setBackground

abstract fun setBackground(colorBuilder: Color.() -> Unit)

设置背景色(Background)。

Receiver

需要设置的 Color 对象。

Parameters

colorBuilder

用于配置 Color 对象的 lambda 表达式。

Samples

setBackground