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

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

Public Methods

Method 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

Method Description
DrawHorizontalSelection ( Point start, Point end, System ctr ) : void

Method Details

DoMouseDown() public method

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
return bool

DoMouseMove() public method

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
return bool

DoMouseUp() public method

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
return bool

HorizontalRangeSelection() public method

Default constructor
public HorizontalRangeSelection ( ) : System
return System

HorizontalRangeSelection() public method

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