Accord.Controls.HuePicker.HuePicker C# (CSharp) Method

HuePicker() public method

Initializes a new instance of the HuePicker class.
public HuePicker ( ) : System
return System
        public HuePicker()
        {
            InitializeComponent();

            SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.ResizeRedraw |
                ControlStyles.DoubleBuffer | ControlStyles.UserPaint, true);

            blackPen = new Pen(Color.Black, 1);
            blackBrush = new SolidBrush(Color.Black);
            whitePen = new Pen(Color.White, 1);
            whiteBrush = new SolidBrush(Color.White);
        }