onAbort 

onAbortCallback(abortReason)

This callback function is called when the draw operation is aborted.

Parameters

Name

Type

Description

abortReason

Number

The specific abort reason. The following are the possible values:

§  NONE : 0
The abort() method was called for the helper object returned by the drawing method.

§  ESC_KEY : 1
The Escape key was pressed.