WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
Public Member Functions | |
RGBColorNamed () | |
Initializes a new instance of the RGBColorNamed class. More... | |
RGBColorNamed (string Name, int BrightnessRed, int BrightnessGreen, int BrightnessBlue) | |
Initializes a new instance of the RGBColorNamed class. More... | |
RGBColorNamed (string Name, string Color) | |
Initializes a new instance of the RGBColorNamed class. The parameter string Color ist first parsed for hexadecimal color codes and afterwards checked for comma separated color values. More... | |
Public Member Functions inherited from DirectOutput.General.Color.RGBColor | |
bool | SetColor (int Red, int Green, int Blue) |
Sets the RGB components of the Color. More... | |
bool | SetColor (string Color) |
Sets the RGB components of the Color. The parameter string Color ist first parsed for hexadecimal color codes and afterwards checked for comma separated color values. More... | |
RGBColor () | |
Initializes a new instance of the RGBColor class. More... | |
RGBColor (int BrightnessRed, int BrightnessGreen, int BrightnessBlue) | |
Initializes a new instance of the RGBColor class. More... | |
RGBColor (string Color) | |
Initializes a new instance of the RGBColor class. The parameter string Color ist first parsed for hexadecimal color codes and afterwards checked for comma separated color values. More... | |
Properties | |
string | Name [get, set] |
Name of the color. More... | |
Properties inherited from DirectOutput.General.Color.RGBColor | |
int | Red [get, set] |
Brightness for Red. More... | |
int | Green [get, set] |
Brightness for Green. More... | |
int | Blue [get, set] |
Brightness for Blue. More... | |
string | HexColor [get, set] |
Returns the hexadecimal code for the color. More... | |
Properties inherited from DirectOutput.General.Generic.INamedItem | |
string | Name [get, set] |
Gets or sets the name of the item. Must fire the BeforeNameChange and AfterNameChange events when the value of the property is changed. More... | |
Events | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Event is fired after the value of the property Name has changed. More... | |
EventHandler< NameChangeEventArgs > | BeforeNameChanged |
Event is fired before the value of the property Name is changed. More... | |
Events inherited from DirectOutput.General.Generic.INamedItem | |
EventHandler< NameChangeEventArgs > | BeforeNameChanged |
Occurs before the name of the item changes. More... | |
EventHandler< NameChangeEventArgs > | AfterNameChanged |
Occurs when after the name of the item has changed. More... | |
Named RGBColor object
Definition at line 13 of file RGBColorNamed.cs.
DirectOutput.General.Color.RGBColorNamed.RGBColorNamed | ( | ) |
Initializes a new instance of the RGBColorNamed class.
Definition at line 63 of file RGBColorNamed.cs.
DirectOutput.General.Color.RGBColorNamed.RGBColorNamed | ( | string | Name, |
int | BrightnessRed, | ||
int | BrightnessGreen, | ||
int | BrightnessBlue | ||
) |
Initializes a new instance of the RGBColorNamed class.
Name | The name of the color. |
BrightnessRed | The brightness for red. |
BrightnessGreen | The brightness for green. |
BrightnessBlue | The brightness for blue. |
Definition at line 71 of file RGBColorNamed.cs.
DirectOutput.General.Color.RGBColorNamed.RGBColorNamed | ( | string | Name, |
string | Color | ||
) |
Initializes a new instance of the RGBColorNamed class. The parameter string Color ist first parsed for hexadecimal color codes and afterwards checked for comma separated color values.
Name | The name of the color. |
Color | The color string. |
Definition at line 85 of file RGBColorNamed.cs.
|
getset |
EventHandler<NameChangeEventArgs> DirectOutput.General.Color.RGBColorNamed.AfterNameChanged |
Event is fired after the value of the property Name has changed.
Definition at line 49 of file RGBColorNamed.cs.
EventHandler<NameChangeEventArgs> DirectOutput.General.Color.RGBColorNamed.BeforeNameChanged |
Event is fired before the value of the property Name is changed.
Definition at line 54 of file RGBColorNamed.cs.