Color configuration from a LedControl file.
More...
|
string | Name [get, set] |
| Gets or sets the name of the color. More...
|
|
int | Red [get, set] |
| Gets or sets the red part of the color. More...
|
|
int | Green [get, set] |
| Gets or sets the green part of the color. More...
|
|
int | Blue [get, set] |
| Gets or sets the blue part of the color. More...
|
|
int | Alpha [get, set] |
| Gets or sets the alpha part of the color. More...
|
|
Color configuration from a LedControl file.
DirectOutput.LedControl.Loader.ColorConfig.ColorConfig |
( |
| ) |
|
DirectOutput.LedControl.Loader.ColorConfig.ColorConfig |
( |
string |
ColorConfigDataLine, |
|
|
bool |
ThrowExceptions = false |
|
) |
| |
Initializes a new instance of the ColorConfig class. Parses the ledcontrol data for a color definition.
- Parameters
-
ColorConfigDataLine | The color config data line. |
ThrowExceptions | If set to true [throw exceptions]. |
- Exceptions
-
System.Exception | Line {0} has a unknown structure or contains wrong data. |
RGBAColorNamed DirectOutput.LedControl.Loader.ColorConfig.GetCabinetColor |
( |
| ) |
|
Gets a cabinet RGBAColor object representing the values in the ColorConfig object-.
- Returns
- RGBAColorNamed object for the content of the ColorConfig.
void DirectOutput.LedControl.Loader.ColorConfig.ParseLedcontrolData |
( |
string |
ColorConfigDataLine, |
|
|
bool |
ThrowExceptions = false |
|
) |
| |
Parses the ledcontrol data for a color definition.
- Parameters
-
ColorConfigDataLine | The color config data line. |
ThrowExceptions | If set to true [throw exceptions]. |
- Exceptions
-
System.Exception | Line {0} has a unknown structure or contains wrong data. |
int DirectOutput.LedControl.Loader.ColorConfig.Alpha |
|
getset |
Gets or sets the alpha part of the color.
The alpha part of the color.
int DirectOutput.LedControl.Loader.ColorConfig.Blue |
|
getset |
Gets or sets the blue part of the color.
The blue part of the color.
int DirectOutput.LedControl.Loader.ColorConfig.Green |
|
getset |
Gets or sets the green part of the color.
The green part of the color.
string DirectOutput.LedControl.Loader.ColorConfig.Name |
|
getset |
Gets or sets the name of the color.
The name of the color.
int DirectOutput.LedControl.Loader.ColorConfig.Red |
|
getset |
Gets or sets the red part of the color.
The red value.
The documentation for this class was generated from the following file:
- C:/Users/Tom/Documents/GitHub/DirectOutput/DirectOutput/LedControl/Loader/ColorConfig.cs