C# Class MineEdit.UIControls.Dial

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: N3X15/MineEdit Class Usage Examples

Private Properties

Свойство Type Description
ConvertToAngle double
ConvertToPoint System.Drawing.PointF
Dial_MouseDown void
Dial_MouseMove void
DrawAngle void
DrawNightMarker void
Lerp double

Méthodes publiques

Méthode Description
Dial ( ) : System

Méthodes protégées

Méthode Description
OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
ConvertToAngle ( PointF point, PointF center ) : double
ConvertToPoint ( PointF offset, double angle, double radius ) : PointF
Dial_MouseDown ( object sender, MouseEventArgs e ) : void
Dial_MouseMove ( object sender, MouseEventArgs e ) : void
DrawAngle ( Graphics &g, double ang, Pen c ) : void
DrawNightMarker ( Graphics &g ) : void

Draw a transparent half-ellipse to mark the night side of the dial.

Lerp ( double frac, double a, double b ) : double

Method Details

Dial() public méthode

public Dial ( ) : System
Résultat System

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void