# Class: KonvaMarkerTool

## Constructor

#### new KonvaMarkerTool()

  Describes the whiteboard marker tool.

## Methods

#### drawFunction(evt, konvaShape, scale) → {void}

  Draws the marker line shape on the whiteboard canvas.
  Function is being invoked when the user triggers mousemove event
  on the whiteboard canvas when a marker tool is selected.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `evt` | object | HTML DOM mousemove event.
  `konvaShape` | Konva.Shape | Shape that is goint to be drawn.
  `scale` | number |

  ##### Returns:

  { void }

#### endFunction() → {void}

  Finishes drawing the marker line shape on the whiteboard canvas.
  Function is being invoked when the user triggers mouseup or mouseleave event
  on the whiteboard canvas when a marker tool is selected.

  ##### Returns:

  { void }

#### startFunction(event, scale) → {Konva.Shape}

  Starts drawing the marker line shape on the whiteboard canvas.
  Function is being invoked when the user triggers mousedown event
  on the whiteboard canvas when a marker 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 }