Esempio n. 1
0
 public SpecialColor(float cyan, float magenta, float yellow, float black)
 {
     this.Kind = ColorKind.Custom;
     this.CustomColor = CmykColor.FromCmyk(cyan, magenta, yellow, black);
 }
Esempio n. 2
0
 public SpecialColor(CmykColor color)
 {
     this.Kind = ColorKind.Custom;
     this.CustomColor = color;
 }
Esempio n. 3
0
 public SpecialColor(ColorKind colorKind)
 {
     Debug.Assert(colorKind != ColorKind.Custom);
     this.Kind = colorKind;
 }