SolidColor

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

Summary

Public constructors

<init>(value: Color)

Public methods

Unit

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

Color

Public constructors

<init>

SolidColor(value: Color)

Public methods

applyTo

fun applyTo(p: Paint): Unit

Properties

value

val value: Color