Electronic device with drawing function and drawing method thereof
AssigneesHon Hai Precision Industry Co., Ltd., Fu Tai Hua Industry (Shenzhen) Co., Ltd.
InventorPENG WANG
Life of this patent
Estimating the term…
Abstract
In a drawing method of an electronic device, a touch device detects contact positions on the touch device corresponding to user operations, converts pressures applied to the points of contact into corresponding piezoelectric signals, and calculates coordinates of the contact positions. A plurality of colors are available and selectable by a user. The objects are drawn based on the coordinates of the contact positions from the touch device and the set color. The color shading of each point of the drawing depends upon the contact pressures as signified by the piezoelectric signals.
Claims13
A drawing method of an electronic device, the electronic device comprising a display device and a touch device that detects contact positions on the touch device corresponding to user operations, converts pressures applied to the contact positions into piezoelectric signals, and calculates coordinates of the contact positions, the method comprising:
- displaying an interface that provides a plurality of selectable colors and sets one or more colors for objects that are drawn;
- drawing the objects based on the coordinates of the contact positions from the touch device and the set one or more colors;
- and
- adjusting shade of each color of each point of the drawn objects based on the piezoelectric signals.
An electronic device, comprising:
- a touch device detecting contact positions on the touch device corresponding to user operations, converting pressures applied to the contact positions into piezoelectric signals, and calculating coordinates of the contact positions;
- a storage device;
- at least one processor;
- and
- one or more programs stored in the storage device and executed by the at least one processor, the one or more programs comprising:
- a setting module displaying an interface that provides a plurality of selectable colors and sets one or more colors for objects that are drawn;
- and
- a drawing module drawing the objects based on the coordinates of the contact positions from the touch device and the set one or more colors, and adjusting shade of each color of each point of the drawn objects based on the piezoelectric signals.
A non-transitory storage medium having stored thereon instructions that, when executed by at least one processor of an electronic device comprising a display device and a touch device that detects contact positions on the touch device corresponding to user operations, converts pressures applied to the contact positions into piezoelectric signals, and calculates coordinates of the contact positions based on the piezoelectric signals, causes the electronic device to perform a method of drawing objects, the method comprising:
- displaying an interface that provides a plurality of selectable colors and sets one or more colors for objects that are drawn;
- drawing the objects based on the coordinates of the contact positions from the touch device and the set one or more colors;
- and
- adjusting shade of each color of each point of the drawn objects based on the piezoelectric signals.
Dependencies are inferred from the claim text.