Class: KonvaStampTool

Constructor

new KonvaStampTool()

Describes the whiteboard stamp tool.

Methods

drawFunction(event, scale) → {Konva.Shape}

Draws the stamp shape on the whiteboard canvas.
Function is being invoked when the user triggers mousedown event
on the whiteboard canvas when a stamp tool is selected.

Parameters:
Name Type Description
event object

HTML DOM mousedown event.

scale number

Scale which currently applies to the whiteboard canvas.

Returns:
{ Konva.Shape }
©2016 Avaya Inc. All Rights Reserved.