This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Get System.Windows.Media.Color from Hue / Saturation / Brightness of double values without "if" statements | |
/// </summary> | |
/// <param name="Hue">Hue in 0 to 360</param> | |
/// <param name="Saturation">Saturation in 0 to 100</param> | |
/// <param name="Brightness">Brightness(Value) in 0 to 100</param> | |
/// <returns>Color</returns> | |
Color GetColorFromHSB_(double Hue, double Saturation, double Brightness) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Get System.Windows.Media.Color from Hue / Saturation / Brightness of double values without "if" statements | |
/// </summary> | |
/// <param name="Hue">Hue in 0 to 360</param> | |
/// <param name="Saturation">Saturation in 0 to 100</param> | |
/// <param name="Brightness">Brightness(Value) in 0 to 100</param> | |
/// <returns>Color</returns> | |
Color GetColorFromHSB_(double Hue, double Saturation, double Brightness) | |
{ |