C# Class Pinta.ColorGradientWidget

Inheritance: Gtk.Bin
Afficher le fichier Open project: xxgreg/Pinta

Private Properties

Свойство Type Description
DrawGradient void
DrawTriangles void
FindValueIndex int
GetValueFromY int
GetYFromValue double
HandleButtonPressEvent void
HandleButtonReleaseEvent void
HandleExposeEvent void
HandleLeaveNotifyEvent void
HandleMotionNotifyEvent void
NormalizeY double

Méthodes publiques

Méthode Description
ColorGradientWidget ( ) : System
GetValue ( int i ) : int
SetValue ( int i, int val ) : void

Méthodes protégées

Méthode Description
Build ( ) : void
OnValueChanged ( int index ) : void

Private Methods

Méthode Description
DrawGradient ( Context g ) : void
DrawTriangles ( Context g ) : void
FindValueIndex ( int y ) : int
GetValueFromY ( double py ) : int
GetYFromValue ( double val ) : double
HandleButtonPressEvent ( object o, Gtk args ) : void
HandleButtonReleaseEvent ( object o, Gtk args ) : void
HandleExposeEvent ( object o, Gtk args ) : void
HandleLeaveNotifyEvent ( object o, Gtk args ) : void
HandleMotionNotifyEvent ( object o, Gtk args ) : void
NormalizeY ( int index, double py ) : double

Method Details

Build() protected méthode

protected Build ( ) : void
Résultat void

ColorGradientWidget() public méthode

public ColorGradientWidget ( ) : System
Résultat System

GetValue() public méthode

public GetValue ( int i ) : int
i int
Résultat int

OnValueChanged() protected méthode

protected OnValueChanged ( int index ) : void
index int
Résultat void

SetValue() public méthode

public SetValue ( int i, int val ) : void
i int
val int
Résultat void