コード例 #1
0
 /// <summary>
 /// Converts HSL to .net Color.
 /// </summary>
 /// <param name="hsl">The HSL structure to convert.</param>
 public static Color HSLtoColor(HSL hsl)
 {
     return(HSLtoColor(hsl.Hue, hsl.Saturation, hsl.Luminance));
 }
コード例 #2
0
 /// <summary>
 /// Converts HSL to .net Color.
 /// </summary>
 /// <param name="hsl">The HSL structure to convert.</param>
 public static Color HSLtoColor(HSL hsl) {
     return HSLtoColor(hsl.Hue, hsl.Saturation, hsl.Luminance);
 }
コード例 #3
0
 /// <summary>
 /// Converts HSL to RGB.
 /// </summary>
 /// <param name="hsl">The HSL structure to convert.</param>
 public static RGB HSLtoRGB(HSL hsl)
 {
     return(HSLtoRGB(hsl.Hue, hsl.Saturation, hsl.Luminance));
 }
コード例 #4
0
 /// <summary>
 /// Converts HSL to RGB.
 /// </summary>
 /// <param name="hsl">The HSL structure to convert.</param>
 public static RGB HSLtoRGB(HSL hsl) {
     return HSLtoRGB(hsl.Hue, hsl.Saturation, hsl.Luminance);
 }