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
파일 보기 프로젝트 열기: filipkunc/GLGraphics

공개 메소드들

메소드 설명
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