Automatically draws a full object on the first user click.
Object.defineProperty(AnnRectangleDrawDesigner.prototype, 'drawOnClick',
get: function(),
set: function(value)
)
true to automatically draws a full object on the first user click; otherwise, false. The default value is false.
When the value of DrawOnClick is false (the default value), the user must click to draw the first point of the rectangle (top-left corner), then drag and release to draw the second point (bottom-right). The object is added to the container only after the user finishes the entire operation.
When the value of DrawOnClick is set to true, then a new rectangle object is added to the container as soon as the user clicks to select the first point (top-left corner). The size of the rectangle is fixed to 100 by 100 annotation units.