Interactive Ink

How to change already hand written text color in Editor??


I questioned about hand written text color change before..

My point is that how to change already hand written text color~ 

My usecase is that change already hand written text color when i clicked button,,

see below case..


Please answer me asap


1 person has this question
1 Comment

Dear Youngbae Kim,

If you have handwritten strokes and you want to change the color of *all* the handwritten strokes of a given ContentPart, then you should change the Editor theme, for example when user clicks the button, call:

editor.setTheme("stroke { color: #ff0000ff; }");

If you want to change only *some* of the handwritten strokes color inside a given ContentPart, this is unfortunately not possible for the time being with iink SDK.

Best regards


1 person likes this
Login or Signup to post a comment