C# Class NPlot.Windows.PlotSurface2D.Interactions.HorizontalRangeSelection

This plot intraction allows the user to select horizontal regions.
Inheritance: NPlot.Interaction
Afficher le fichier Open project: mono/nplot-gtk

Méthodes publiques

Méthode Description
DoMouseDown ( MouseEventArgs e, Control ctr ) : bool

Handler for mouse down event for this interaction

DoMouseMove ( MouseEventArgs e, Control ctr, KeyEventArgs lastKeyEventArgs ) : bool

Handler for mouse move event for this interaction

DoMouseUp ( MouseEventArgs e, Control ctr ) : bool

Handler for mouse up event for this interaction

HorizontalRangeSelection ( ) : System

Default constructor

HorizontalRangeSelection ( double smallestAllowedRange ) : System

Constructor

Private Methods

Méthode Description
DrawHorizontalSelection ( Point start, Point end, System ctr ) : void

Method Details

DoMouseDown() public méthode

Handler for mouse down event for this interaction
public DoMouseDown ( MouseEventArgs e, Control ctr ) : bool
e MouseEventArgs the mouse event args
ctr System.Windows.Forms.Control the plot surface this event applies to
Résultat bool

DoMouseMove() public méthode

Handler for mouse move event for this interaction
public DoMouseMove ( MouseEventArgs e, Control ctr, KeyEventArgs lastKeyEventArgs ) : bool
e MouseEventArgs the mouse event args
ctr System.Windows.Forms.Control the plot surface this event applies to
lastKeyEventArgs System.Windows.Forms.KeyEventArgs
Résultat bool

DoMouseUp() public méthode

Handler for mouse up event for this interaction
public DoMouseUp ( MouseEventArgs e, Control ctr ) : bool
e MouseEventArgs the mouse event args
ctr System.Windows.Forms.Control the plot surface this event applies to
Résultat bool

HorizontalRangeSelection() public méthode

Default constructor
public HorizontalRangeSelection ( ) : System
Résultat System

HorizontalRangeSelection() public méthode

Constructor
public HorizontalRangeSelection ( double smallestAllowedRange ) : System
smallestAllowedRange double the smallest distance between the selected xmin and xmax for the selection to be performed.
Résultat System