예제 #1
0
 public void CMYKUpdate()
 {
     this.RGB = this.CMYK;
     this.HSB = this.CMYK;
 }
예제 #2
0
 public CMYK(Color color)
 {
     this = RGB.ToCMYK(color);
 }
예제 #3
0
 public void HSBUpdate()
 {
     this.RGB  = this.HSB;
     this.CMYK = this.HSB;
 }
예제 #4
0
 public HSB(Color color)
 {
     this = RGB.ToHSB(color);
 }
예제 #5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="color"></param>
 public MyColor(Color color)
 {
     this.RGB  = color;
     this.HSB  = color;
     this.CMYK = color;
 }
예제 #6
0
 public RGB(Color color)
 {
     this = new RGB(color.R, color.G, color.B);
 }