background
Function
Android
public fun CurvedModifier.background(
color: Color,
cap: StrokeCap = StrokeCap.Butt,
): CurvedModifier
Specified a solid background for a curved element.
Parameters
color | The color to use to paint the background. |
cap | How to start and end the background. |