C# Class Accord.Controls.HuePicker

Hue picker control.

The control allows selecting hue value (or range) from HSL color space. Hue values are integer values in the [0, 359] range.

If control's type is set to HuePickerType.Value, then it allows selecting single hue value and looks like this:

If control's type is set to HuePickerType.Range, then it allows selecting range of hue values and looks like this:

Inheritance: System.Windows.Forms.Control
Exibir arquivo Open project: accord-net/framework

Private Properties

Property Type Description
HSLPicker_MouseDown void
HSLPicker_MouseMove void
HSLPicker_MouseUp void
InitializeComponent void

Public Methods

Method Description
HuePicker ( ) : System

Initializes a new instance of the HuePicker class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose the object.

OnPaint ( PaintEventArgs e ) : void

Paint the controls.

Private Methods

Method Description
HSLPicker_MouseDown ( object sender, System e ) : void
HSLPicker_MouseMove ( object sender, System e ) : void
HSLPicker_MouseUp ( object sender, System e ) : void
InitializeComponent ( ) : void

Method Details

Dispose() protected method

Dispose the object.
protected Dispose ( bool disposing ) : void
disposing bool Specifies if disposing was invoked by user's code.
return void

HuePicker() public method

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

OnPaint() protected method

Paint the controls.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs Paint event arguments.
return void