Event that triggers when drawing tool's position has been changed either by dragging it or in code.
Event handler containing 'startX' and 'startY' parameters for the first control point position, and respectively 'endX' and 'endY' parameters for the second control point position.
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 whether the top and bottom lines should be extended to the left and right edges of the chart.
Set true to extend the lines to the left edge.
Set true to extend the lines to the right edge.
Updates the drawing tool based on the control points' locations.
First point X-location.
First point Y-location.
Second point X-location.
Second point Y-location.
Measures the price change between two price levels on the chart. The lines marking the levels can be extended to the edge of the chart.