public void CMYKUpdate() { this.RGB = this.CMYK; this.HSB = this.CMYK; }
public CMYK(Color color) { this = RGB.ToCMYK(color); }
public void HSBUpdate() { this.RGB = this.HSB; this.CMYK = this.HSB; }
public HSB(Color color) { this = RGB.ToHSB(color); }
/// <summary> /// 构造函数 /// </summary> /// <param name="color"></param> public MyColor(Color color) { this.RGB = color; this.HSB = color; this.CMYK = color; }
public RGB(Color color) { this = new RGB(color.R, color.G, color.B); }