ChromaColour

open class ChromaColour(source)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun forLegacyString(stringRepresentation: String): ChromaColour
Link copied to clipboard
open fun fromRGB(r: Int, g: Int, b: Int, chromaSpeedMillis: Int, a: Int): ChromaColour
Link copied to clipboard
open fun fromStaticRGB(r: Int, g: Int, b: Int, a: Int): ChromaColour
Link copied to clipboard
open fun getEffectiveColour(offset: Float): Color
Link copied to clipboard
Unlike getEffectiveColour, this offset does not change anything if not using an animated colour.
Link copied to clipboard
open fun getSecondsForSpeed(speed: Int): Float
Link copied to clipboard
open fun getSpeed(special: String): Int
Link copied to clipboard
open fun rotateHue(argb: Int, degrees: Int): Int
Link copied to clipboard
open fun special(chromaSpeed: Int, alpha: Int, rgb: Int): String
open fun special(chromaSpeed: Int, alpha: Int, r: Int, g: Int, b: Int): String
Link copied to clipboard
open fun specialToChromaRGB(special: String): Int
Link copied to clipboard
open fun specialToSimpleRGB(special: String): Int
Link copied to clipboard