{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

SolidColor

kotlin.Any
   ↳ androidx.compose.ui.graphics.Brush
     ↳ androidx.compose.ui.graphics.SolidColor

Summary

Public constructors

SolidColor(value: Color)
Cmn

Public functions

open Unit
applyTo(size: Size, p: Paint, alpha: Float)
Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Color
Cmn

Inherited properties

From androidx.compose.ui.graphics.Brush
open Size

Return the intrinsic size of the Brush.

Cmn

Public constructors

SolidColor

SolidColor(value: Color)

Public functions

applyTo

open fun applyTo(size: Size, p: Paint, alpha: Float): Unit

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

value

val valueColor