ColorContainerInterface

Properties

Link copied to clipboard
abstract val color: Int

The first color in colors

Link copied to clipboard
abstract val colors: List<Int>

The List of colors in this container

Functions

Link copied to clipboard

Report whether colors is empty

Link copied to clipboard

Report whether colors is not empty

Link copied to clipboard
abstract fun prepare(numLEDs: Int): PreparedColorContainer

Create a PreparedColorContainer of the specified length for use with a LED strip

Link copied to clipboard
fun ColorContainerInterface.shuffledWithIndices(): List<<Error class: unknown class><Int, Int>>
Link copied to clipboard

Create a ColorContainer or return this ColorContainer