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.
Draws a sine wave oscillating up and down. Two control points are used to mark the wave top and bottom peaks. Sine waves can be used to identify patterns in a market.