InkGrabber Class
The InkGrabber class that render, capture and build strokes
Constructor
InkGrabber
(
-
context
Parameters:
-
contextObject
Item Index
Methods
_drawCharacter
(
private
-
character -
context -
parameters
Draw character component
Parameters:
-
characterCharacterInputComponent -
contextObject -
parametersPenParameters
_drawRectangle
(
private
-
rectangle -
context -
parameters
Draw a rectangle on context
Parameters:
-
rectangleRectangle -
contextObject -
parametersPenParameters
_drawStroke
(
private
-
stroke -
context -
parameters
Draw stroke component
Parameters:
-
strokeStrokeComponent -
contextObject -
parametersPenParameters
clear
()
Clear the recognition context
drawRecognitionResult
(
-
components -
recognitionResult
Draw recognition result on HTML5 canvas.
Parameters:
-
componentsAbstractComponent[] -
recognitionResultObject
getShowBoundingBoxes
()
Boolean
This property is use to show or not show the bounding box
Returns:
Boolean:
isWriting
()
Boolean
Is Writing a stroke
Returns:
Boolean:
setShowBoundingBoxes
(
-
showBoundingBoxes
Set the show state of bounding box
Parameters:
-
showBoundingBoxesBoolean
