Color

open class Color

Constructors

Link copied to clipboard
constructor(defaultColor: Int, @NonNull selectors: List<ColorSelector>)

Properties

Link copied to clipboard
val BLACK: Int = -16777216
Link copied to clipboard
Link copied to clipboard
val WHITE: Int = -1

Functions

Link copied to clipboard
open fun alpha(@ColorInt color: Int): Float
Link copied to clipboard
open fun fromJson(@NonNull json: JsonMap): Color
Link copied to clipboard
open fun fromJsonField(@Nullable json: JsonMap, @NonNull fieldName: String): Color
Link copied to clipboard
open fun resolve(@NonNull context: Context): Int