Color

@Immutable
value class Color

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

false when this is Color.Unspecified.

Link copied to clipboard

true when this is Color.Unspecified.

Functions

Link copied to clipboard
@Stable
inline operator fun component1(): Float
Link copied to clipboard
@Stable
inline operator fun component2(): Float
Link copied to clipboard
@Stable
inline operator fun component3(): Float
Link copied to clipboard
inline fun Color.takeOrElse(block: () -> Color): Color

If this color isSpecifiedColor then this is returned, otherwise block is executed and its result is returned.

Link copied to clipboard
open override fun toString(): String