示例#1
0
 /// <summary>
 /// Converts this <see cref="Hsv"/> struct into a standard <see cref="HsvColor"/>.
 /// </summary>
 /// <param name="alpha">The Alpha component in the range from 0..1.</param>
 /// <returns>A new <see cref="HsvColor"/> representing this <see cref="Hsv"/> struct.</returns>
 public HsvColor ToHsvColor(double alpha = 1.0)
 {
     // Clamping is done automatically in the constructor
     return(HsvColor.FromAhsv(alpha, H, S, V));
 }