2 using System.Collections.Generic;
5 using System.Xml.Serialization;
32 string OldName = _Name;
33 if (BeforeNameChanged != null)
40 if (AfterNameChanged != null)
71 public RGBAColorNamed(
string Name,
int BrightnessRed,
int BrightnessGreen,
int BrightnessBlue)
75 SetColor(BrightnessRed, BrightnessGreen, BrightnessBlue);
85 public RGBAColorNamed(
string Name,
int BrightnessRed,
int BrightnessGreen,
int BrightnessBlue,
int Alpha)
89 SetColor(BrightnessRed, BrightnessGreen, BrightnessBlue,Alpha);
RGBAColorNamed(string Name, int BrightnessRed, int BrightnessGreen, int BrightnessBlue, int Alpha)
Initializes a new instance of the RGBAColorNamed class.
This class stores information on colors used for toys and effects (e.g. RGBLed).
RGBAColorNamed(string Name, string Color)
Initializes a new instance of the RGBAColorNamed class. The parameter string Color is first parsed f...
This class stores information on RGB colors used for toys and effects (e.g. RGBLed).
Interface for items which can be added the the NamedItemList.
RGBAColorNamed(string Name, RGBColor RGBColor)
Initializes a new instance of the RGBAColorNamed class. The Alpha value is set to 0 if all color comp...
EventHandler< NameChangeEventArgs > BeforeNameChanged
Event is fired before the value of the property Name is changed.
EventHandler< NameChangeEventArgs > AfterNameChanged
Event is fired after the value of the property Name has changed.
EventArgs for name change events.
The namespace DirectOutput.General contains classes for general use.
RGBAColorNamed(string Name, int BrightnessRed, int BrightnessGreen, int BrightnessBlue)
Initializes a new instance of the RGBAColorNamed class. If all color components are set to 0...
This class stores information on colors used for toys (e.g. RGBLed).