internal static void ToColorSpace(IRgb color, IHsb item)
        {
            var hsv = new Hsv();

            HsvConverter.ToColorSpace(color, hsv);

            item.H = hsv.H;
            item.S = hsv.S;
            item.B = hsv.V;
        }
示例#2
0
 public override void Initialize(IRgb color)
 {
     HsvConverter.ToColorSpace(color, this);
 }