public class AmbilightProvider
extends java.lang.Thread
Modifier and Type | Method and Description |
---|---|
static byte |
getBlue(double index)
Gets the blue value of the screen.
|
static int |
getDivider()
Gets the devider value used for internal logic.
|
static byte |
getGreen(double index)
Gets the green value of the screen.
|
static byte |
getRed(double index)
Gets the red value of the screen.
|
void |
run() |
static void |
setDevider(int devider)
Sets the devider value used for internal logic.
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static byte getRed(double index)
index
- The index on the screen in a range from 0.0 to 1.0 where 0.0
is left.public static byte getGreen(double index)
index
- The index on the screen in a range from 0.0 to 1.0 where 0.0
is left.public static byte getBlue(double index)
index
- The index on the screen in a range from 0.0 to 1.0 where 0.0
is left.public static int getDivider()
public static void setDevider(int devider)
devider
- The new devider.