Event that triggers when drawing tool's position has been changed either by dragging it or in code.
Event handler containing 'startX' and 'endX' parameters indicating the channel's start and end positions.
Event that triggers when pointer is pressed down on top of the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
-'button' indicates the pressed mouse button.
Event that triggers when pointer is moved onto the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
Event that triggers when pointer is moved away from the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
Event that triggers when pointer is released on top of the drawing tool.
Event handler containing the following parameters:
-'xPosition' and 'yPosition' parameters return the current cursor position in axis values.
-'xPositionClient' and 'yPositionClient' return the current cursor position in client coordinates (zero equals top-left corner).
-'drawingTool' gets the drawing tool instance.
-'isControlPoint' tells if the event was triggered by one of the drawing tool's control points.
-'button' indicates the released mouse button.
Sets the type of the Linear regression Channel.
Channel type.
Updates the drawing tool based on the control points' locations.
Starting point X location.
End point X location.
Optional starting point Y location.
Optional end point Y location.
Calculates and draws a linear regression line between two control points. Then draws two channel lines, one above and one below the regression line based on the selected channel type.