C# Class Accord.Controls.Histogram

Histogram control.

The control displays histograms represented with integer arrays, where each array's element keeps occurrence number of the corresponding element.

Sample usage:

// create array with histogram values int[] histogramValues = new int[] { 3, 8, 53, 57, 79, 69, ... }; // set values to histogram control histogram.Values = histogramValues;

Sample control's look:

Inheritance: System.Windows.Forms.Control
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Private Properties

Свойство Type Description
Histogram_MouseDown void
Histogram_MouseLeave void
Histogram_MouseMove void
Histogram_MouseUp void
InitializeComponent void

Méthodes publiques

Méthode Description
Histogram ( ) : System

Initializes a new instance of the Histogram class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Dispose the object.

OnPaint ( PaintEventArgs e ) : void

Paint the control.

Private Methods

Méthode Description
Histogram_MouseDown ( object sender, System e ) : void
Histogram_MouseLeave ( object sender, System e ) : void
Histogram_MouseMove ( object sender, System e ) : void
Histogram_MouseUp ( object sender, System e ) : void
InitializeComponent ( ) : void

Method Details

Dispose() protected méthode

Dispose the object.
protected Dispose ( bool disposing ) : void
disposing bool Indicates if disposing was initiated manually.
Résultat void

Histogram() public méthode

Initializes a new instance of the Histogram class.
public Histogram ( ) : System
Résultat System

OnPaint() protected méthode

Paint the control.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs Data for Paint event.
Résultat void