LightSettingsColor

public final class LightSettingsColor extends Object

A class representing color in LightSettings.

Public Constructor Summary

LightSettingsColor(float red, float green, float blue, float alpha)
Creates a new LightSettingsColor using the given red, green, blue, and alpha values.

Public Method Summary

static LightSettingsColor
fromString(String rrggbb)
Creates a new LightSettingsColor with a string.

Inherited Method Summary

Public Constructors

public LightSettingsColor (float red, float green, float blue, float alpha)

Creates a new LightSettingsColor using the given red, green, blue, and alpha values.

Parameters
red The red component.
green The green component.
blue The blue component.
alpha The alpha component.

Public Methods

public static LightSettingsColor fromString (String rrggbb)

Creates a new LightSettingsColor with a string. Alpha of the color will be set to 1.

Parameters
rrggbb LightSettingsColor specified in the #rrggbb format.
Returns