C# Class AForge.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
Show file Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

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 pe ) : 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 pe ) : void
pe PaintEventArgs Paint event arguments.
return void