SingleFill

Constructors

Link copied to clipboard
constructor()
constructor(colors: Array<Color>)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open val colors: Array<Color>
Link copied to clipboard
Link copied to clipboard
open var period: Int
Link copied to clipboard
open var pixelLength: Int
Link copied to clipboard
open var speed: Float
Link copied to clipboard

Functions

Link copied to clipboard
open fun getBrightness(): Int
Link copied to clipboard
open fun getStartIndex(): Int
Link copied to clipboard
open fun getStopIndex(): Int
Link copied to clipboard
open fun setBrightness(brightness: Int)
Brightness of selected animation.
Link copied to clipboard
open fun setColors(colors: Array<Color>)
Link copied to clipboard
open fun setIndexes(startIndex: Int, stopIndex: Int)
Set both the first, and last LED in a string that you'd like this animation to show on.
Link copied to clipboard
open fun setPeriod(duration: Int, timeUnit: TimeUnit)
set the period of the single fill in specified unit.
Link copied to clipboard
open fun setStartIndex(startIndex: Int)
The first LED in the string that you'd like this animation to display on.
Link copied to clipboard
open fun setStopIndex(stopIndex: Int)
The last LED in the string that you'd like this animation to display on.