主权项 |
1. An electronic device, comprising:
a panel, provided at a first outer surface of the electronic device; an instruction generating unit, configured to generate setting instructions; a detecting unit, configured to detect a movement of an operation object on the panel, and obtain movement parameters; an image processing unit, configured to generate an operation interface, wherein the image processing unit generates a triggering area of the operation object in the operation interface according to an area setting input by a user; a display, set to overlap the panel, configured to display the operation interface; a position control unit, overlapping the panel, configured to control a relative position of at least one part of the operation object on the panel with respect to the panel according to the setting instructions and the movement parameters when the operation object is in the triggering area, wherein the instruction generating unit generates setting instructions according to the area setting input; wherein the detecting unit is also configured to determine whether the operation object has passed through the triggering area; the image processing unit is also configured to update the trigging area in the operation interface according to the movement parameters obtained by the detection unit when the operation object passes through the triggering area; wherein the instruction generating unit is also configured to update the setting instructions according to the movement parameters obtained by the detecting unit when the operation object passes through the triggering area. |