C# Класс MeshExplorer.Controls.AngleHistogram

Displays an angle histogram.
The angle histogram is divided into two parts: the minimum angles on the left side (0 to 60 degrees) and the maximum angles on the right (60 to 180 degrees).
Наследование: System.Windows.Forms.Control
Показать файл Открыть проект

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

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

Initializes a new instance of the AngleHistogram control.

SetData ( int dataMin, int dataMax ) : void

Updates the histogram data and invalidates the control.

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

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

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

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

Метод Описание
DrawHistogram ( Graphics g, int offset, int left, int size, int data, Brush brush, Brush brushTop ) : void
DrawStrings ( Graphics g, SizeF fSize, int size, int middle ) : void

Draws the labels on the bottom.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ParseData ( int data ) : void

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

AngleHistogram() публичный Метод

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

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

SetData() публичный Метод

Updates the histogram data and invalidates the control.
public SetData ( int dataMin, int dataMax ) : void
dataMin int
dataMax int
Результат void