| Package | Description |
|---|---|
| io.gitlab.mguimard.openrgb.client | |
| io.gitlab.mguimard.openrgb.entity | |
| io.gitlab.mguimard.openrgb.utils |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenRGBClient.updateLed(int deviceIndex,
int ledIndex,
OpenRGBColor color)
Update a given Led color
|
void |
OpenRGBClient.updateLeds(int deviceIndex,
OpenRGBColor[] colors)
Update all leds for a given device
|
void |
OpenRGBClient.updateZoneLeds(int deviceIndex,
int zoneIndex,
OpenRGBColor[] colors)
Update leds in a given zone for a given device
|
| Modifier and Type | Method and Description |
|---|---|
static OpenRGBColor |
OpenRGBColor.fromHexaString(String value)
Returns an instance of an OpenRGBColor from a HSB color components
|
static OpenRGBColor |
OpenRGBColor.fromHSB(float hue,
float saturation,
float brightness)
Returns an instance of an OpenRGBColor from a HSB color components
|
static OpenRGBColor |
OpenRGBColor.fromInt(int value)
Returns an instance of an OpenRGBColor from a color integer value
|
| Modifier and Type | Method and Description |
|---|---|
List<OpenRGBColor> |
OpenRGBMode.getColors() |
List<OpenRGBColor> |
OpenRGBDevice.getColors() |
| Modifier and Type | Method and Description |
|---|---|
void |
OpenRGBMode.setColors(List<OpenRGBColor> openRGBColors) |
void |
OpenRGBDevice.setColors(List<OpenRGBColor> colors) |
| Constructor and Description |
|---|
OpenRGBDevice(DeviceType type,
String name,
String vendor,
String desc,
String version,
String serial,
String location,
int activeMode,
List<OpenRGBLed> leds,
List<OpenRGBColor> colors,
List<OpenRGBMode> modes,
List<OpenRGBZone> zones)
Constructor with all fields
|
OpenRGBMode(String name,
int value,
int flags,
int speedMin,
int speedMax,
int colorMin,
int colorMax,
int speed,
ModeDirection direction,
ColorMode colorMode,
List<OpenRGBColor> colors)
Returns an instance of an OpenRGBMode
|
| Modifier and Type | Method and Description |
|---|---|
static OpenRGBColor[] |
ColorUtils.generateRainbow(int size,
int startH,
double startS,
double startV,
int endH,
double endS,
double endV,
int waves)
Generate an array of OpenRGBColor using HSV, see https://en.wikipedia.org/wiki/Hue#/media/File:Hsv-hues-cf-lch-hues.png
|
Copyright © 2021. All rights reserved.