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

ColorPropKey

class ColorPropKey : PropKey<Color, AnimationVector4D>
kotlin.Any
   ↳ androidx.ui.animation.ColorPropKey

Built-in property key for Color properties.

Summary

Public constructors

<init>(colorSpace: ColorSpace = ColorSpaces.Srgb)

Built-in property key for Color properties.

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

TypeConverter4D<Color>

Public constructors

<init>

ColorPropKey(colorSpace: ColorSpace = ColorSpaces.Srgb)

Built-in property key for Color properties.

Properties

typeConverter

val typeConverter: TypeConverter4D<Color>