Google is committed to advancing racial equity for Black communities. See how.

SolidColor

@Immutable data class SolidColor : Brush
kotlin.Any
   ↳ androidx.compose.ui.graphics.Brush
   ↳ androidx.compose.ui.graphics.SolidColor

Summary

Public constructors
<init>(value: Color)

Public methods
Unit
applyTo(p: Paint, alpha: Float)

Properties
Color

Public constructors

<init>

SolidColor(value: Color)

Public methods

applyTo

fun applyTo(
    p: Paint,
    alpha: Float
): Unit

Properties

value

val value: Color