background
Source set: JvmAndAndroid
public fun RemoteModifier.background(color: RemoteColor): RemoteModifier
Draws a solid color background behind the content.
Example of applying a clipped solid background color:
Parameters
| color | The RemoteColor to use for the background. |
Return
a RemoteModifier that draws a color background behind the content
background
Source set: JvmAndAndroid
public fun RemoteModifier.background(painter: RemotePainter): RemoteModifier
Draws a painter behind the content.
Parameters
| painter | The RemotePainter to use for the background. |
Return
a RemoteModifier that draws painter behind the content