|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ColorPicker.ExtensionMethods;
namespace ColorPicker.ColorModels.CMYK
{
class Cyan : ColorComponent
{
public static CMYKModel sModel = new CMYKModel();
public override int MinValue
{
get { return 0; }
}
public override int MaxValue
{
get { return 100; }
}
public override int Value(System.Windows.Media.Color color)
{
return sModel.CComponent(color).AsPercent();
}
public override string Name
{
get { return "CMYK_Cyan"; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Written software for what seems like forever. I'm currenly infatuated with WPF. Hopefully my affections are returned.