ColorStyle

@Immutable
class ColorStyle(val vibrant: Vibrant, val color: Color)

A color style holds the Vibrant and Color for a color role.

Constructors

Link copied to clipboard
constructor(vibrant: Vibrant, color: Color)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val color: Color

The Color for the color role.

Link copied to clipboard

The Vibrant for the color role.

Functions

Link copied to clipboard
operator fun component1(): Vibrant
Link copied to clipboard
operator fun component2(): Color
Link copied to clipboard
fun copy(vibrant: Vibrant = this.vibrant, color: Color = this.color): ColorStyle
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun ColorStyle.isUnspecified(): Boolean
Link copied to clipboard
open override fun toString(): String