function onImageRendered(e) {
  var eventData = e.detail;
  var context = eventData.canvasContext.canvas.getContext('2d');
  var config = freehandSculpter.getConfiguration();

  if (config.active) {
    var options = {
      fill: null,
      handleRadius: config.toolSizeCanvas
    };

    // Draw large handle at the mouse
    (0, _drawHandles2.default)(context, eventData, config.mouseLocation.handles, config.color, options);
  }
}
/**
* Event handler for IMAGE_RENDERED event.
*
* @event
* @param {Object} e - The event.
*/
Event handler for IMAGE_RENDERED event.
Event handler for IMAGE_RENDERED event .
function onImageRendered(e) {
  var eventData = e.detail;
  var context = eventData.canvasContext.canvas.getContext('2d');
  var config = freehandSculpter.getConfiguration();
  if (config.active) {
    var options = {
      fill: null,
      handleRadius: config.toolSizeCanvas
    };
    (0, _drawHandles2.default)(context, eventData, config.mouseLocation.handles, config.color, options);
  }
}
function onImageRendered ( e ) { var eventData = e . detail ; var context = eventData . canvasContext . canvas . getContext ( '2d' ) ; var config = freehandSculpter . getConfiguration ( ) ; if ( config . active ) { var options = { fill : null , handleRadius : config . toolSizeCanvas } ; ( 0 , _drawHandles2 . default ) ( context , eventData , config . mouseLocation . handles , config . color , options ) ; } }
Event handler for IMAGE_RENDERED event.
Event handler for IMAGE_RENDERED event .
// Draw large handle at the mouse