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