C# Класс 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:

Наследование: System.Windows.Forms.Control
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Histogram_MouseDown void
Histogram_MouseLeave void
Histogram_MouseMove void
Histogram_MouseUp void
InitializeComponent void

Открытые методы

Метод Описание
Histogram ( ) : System

Initializes a new instance of the Histogram class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Dispose the object.

OnPaint ( PaintEventArgs e ) : void

Paint the control.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный метод

Dispose the object.
protected Dispose ( bool disposing ) : void
disposing bool Indicates if disposing was initiated manually.
Результат void

Histogram() публичный метод

Initializes a new instance of the Histogram class.
public Histogram ( ) : System
Результат System

OnPaint() защищенный метод

Paint the control.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs Data for Paint event.
Результат void