ELECTRONIC APPARATUS AND METHOD
According to one embodiment, an electronic apparatus includes a hardware processor. The hardware processor sets a first attribute of strokes to be made on a screen, wherein the first attribute determines a degree of change in thicknesses or colors of the strokes according to a change of writing pressure of the strokes; receives a first stroke made on the screen; display the first stroke in accordance with the first attribute on the screen; determines a handwriting candidate conforming the first stroke, wherein the handwriting candidate includes a second attribute different from the first attribute; changes a form of the handwriting candidate in accordance with a difference between the first attribute and the second attribute; and displays the handwriting candidate according to the first attribute on the screen.
1 . An electronic apparatus comprising:
a screen configured to detect a stroke made on the screen and display the stroke;
a storage configured to store a document; and
a hardware processor configured to:
display the document on the screen;
set a first attribute of strokes to be made on the screen, wherein the first attribute determines a degree of change in thicknesses or colors of the strokes according to a change of writing pressure of the strokes;
receive a first stroke made on the screen;
display the first stroke in accordance with the first attribute on the screen;
determine a handwriting candidate conforming the first stroke, wherein the handwriting candidate comprises a second attribute different from the first attribute;
change a form of the handwriting candidate in accordance with a difference between the first attribute and the second attribute; and
display the handwriting candidate according to the first attribute on the screen.
2 . The electronic apparatus of claim 1 , wherein the hardware processor is further configured to use the first attribute of a part of the first stroke to change the form of the handwriting candidate.
3 . The electronic apparatus of claim 1 , wherein:
the first attribute comprises colors of the strokes; and
the hardware processor is further configured to adopt a color of the first stroke to display the handwriting candidate.
4 . The electronic apparatus of claim 1 , wherein:
the first attribute comprises transmittance of background color regarding coloring of the strokes; and
the hardware processor is further configured to adopt transmittance of background color regarding coloring of the first stroke to display the handwriting candidate.
5 . The electronic apparatus of claim 1 , wherein:
the first attribute comprises a degree of change in width of the strokes according to the change of the writing pressure of the strokes; and
the hardware processor is further configured to use a degree of change in width of the strokes according to writing pressure of the first stroke to change the form of the handwriting candidate.
6 . The electronic apparatus of claim 1 , wherein the hardware processor comprises means for:
displaying the document on the screen;
setting a first attribute of strokes to be made on the screen, wherein the first attribute determines a degree of change in thicknesses or colors of the strokes according to a change of writing pressure of the strokes;
receiving a first stroke made on the screen;
displaying the first stroke in accordance with the first attribute on the screen;
determining a handwriting candidate conforming the first stroke, wherein the handwriting candidate comprises a second attribute different from the first attribute;
changing a form of the handwriting candidate in accordance with a difference between the first attribute and the second attribute; and
displaying the handwriting candidate according to the first attribute on the screen.
7 . A method for an electronic apparatus, the method comprising:
detecting a stroke made on a screen, and displaying the stroke;
storing a document;
displaying the document on the screen;
setting a first attribute of strokes to be made on the screen, wherein the first attribute determines a degree of change in thicknesses or colors of the strokes according to a change of writing pressure of the strokes;
receiving a first stroke made on the screen;
displaying the first stroke in accordance with the first attribute on the screen;
determining a handwriting candidate conforming the first stroke, wherein the handwriting candidate comprises a second attribute different from the first attribute;
changing a form of the handwriting candidate in accordance with a difference between the first attribute and the second attribute; and
displaying the handwriting candidate according to the first attribute on the screen.
8 . The method of claim 7 , further comprising using the first attribute of a part of the first stroke to change the form of the handwriting candidate.
9 . The method of claim 7 , wherein:
the first attribute comprises colors of the strokes; and
the method further comprises adopting a color of the first stroke to display the handwriting candidate.
10 . The method of claim 7 , wherein:
the first attribute comprises transmittance of background color regarding coloring of the strokes; and
the method further comprises adopting transmittance of background color regarding coloring of the first stroke to display the handwriting candidate.
11 . The method of claim 7 , wherein:
the first attribute comprises a degree of change in width of the strokes according to the change of the writing pressure of the strokes; and
the method further comprises using a degree of change in width of the strokes according to writing pressure of the first stroke to change the form of the handwriting candidate.