MultipleColors

sealed class MultipleColors

Holds various colors of a specific type.

Parameters

colorsInt

colors as packed color int, AARRGGBB.

colorsRes

colors as resource references, R.color.the_color.

colorsHex

color as String value, #RRGGBB or #AARRGGBB.

Inheritors

Types

Link copied to clipboard

Define a variety of color String values.

Link copied to clipboard

Define a variety of color resource references.

Link copied to clipboard

Define a variety of color integers.

Functions

Link copied to clipboard
fun getColorsAsInt(context: Context): List<Int>

Resolve the defined colors as color integers.