editor.pointerDown(0.0f, 0.0f, new Date().getTime(), .7f, PointerType.PEN, 1);
editor.pointerMove(1.2f, 2.0f, new Date().getTime(), .6f, PointerType.PEN, 1);
editor.pointerUp(2.0f, 4.0f, new Date().getTime(), .5f, PointerType.PEN, 1);"
These three methods import the coordinates, but there is no import color attribute, so I feel that the color data can no longer be found in the jiix file.
龚 文益
When I use "Off-screen usage", can I control the color of the text in the converted jiix file?
For example, the handwriting I entered is red, and the text in the converted jiix has a red mark.
Can it be achieved?
Dear 龚 文益,
Currently, you shall refer to corresponding part of the documentation that explains how to set the style of the pen: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/styling/#changing-the-style-of-the-pen
This can be done:
-Either using the theme: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/styling/#via-the-theme
-Or using the Dynamic Styles: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/styling/#via-dynamic-styles
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear 龚 文益,
Thank you for contacting us and your question.
Currently, I recommend you refer to the "JIIX format reference" part of the documentation: https://developer.myscript.com/docs/interactive-ink/1.3/reference/jiix/
As you can see, the JIIX hosts the "Style information", which corresponds to your request.
First, you shall ensure you set the "export.jiix.style" configuration to true.
Then, you can refer to the "Style" part of the documentation: https://developer.myscript.com/docs/interactive-ink/1.3/reference/jiix/#style
Best regards,
Olivier
龚 文益
thank you
我在用”
editor.pointerDown(0.0f,0.0f,new Date()。getTime(),。7f,PointerType.PEN,1);
editor.pointerMove(1.2f,2.0f,new Date()。getTime(),。6f,PointerType.PEN,1);
editor.pointerUp(2.0f,4.0f,new Date()。getTime(),。5f,PointerType.PEN,1);“
这三个方法导入坐标,但没有导入颜色属性,所以我觉得在jiix文件中找不到颜色数据。
龚 文益
Thank you
I am using"
editor.pointerDown(0.0f, 0.0f, new Date().getTime(), .7f, PointerType.PEN, 1);
editor.pointerMove(1.2f, 2.0f, new Date().getTime(), .6f, PointerType.PEN, 1);
editor.pointerUp(2.0f, 4.0f, new Date().getTime(), .5f, PointerType.PEN, 1);"
These three methods import the coordinates, but there is no import color attribute, so I feel that the color data can no longer be found in the jiix file.
Olivier @MyScript
Dear 龚 文益,
Currently, you shall refer to corresponding part of the documentation that explains how to set the style of the pen: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/styling/#changing-the-style-of-the-pen
This can be done:
-Either using the theme: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/styling/#via-the-theme
-Or using the Dynamic Styles: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/styling/#via-dynamic-styles
Best regards,
Olivier