The second Android 11 Developer Preview is now available, test it out and share your feedback.

SolidColor

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

Summary

Public constructors

<init>(value: Color)

Public methods

Unit

Properties

Color

Public constructors

<init>

SolidColor(value: Color)

Public methods

applyTo

fun applyTo(p: Paint): Unit

Properties

value

val value: Color