Method for displaying information, electronic device and storage medium
AssigneeShenzhen Smartsafe Tech Co., Ltd.
InventorsWei Zhan, Hongbo Yu, Subin Wen
Life of this patent
Estimating the term…
Loading patent…
AssigneeShenzhen Smartsafe Tech Co., Ltd.
InventorsWei Zhan, Hongbo Yu, Subin Wen
Estimating the term…
A method for displaying information, an electronic device and a storage medium. The method includes: obtaining a total sliding distance of an operation body, the total sliding distance is a movement distance of the operation body in a Y-axis direction of a display area where a component is located; determining an item-to-be-displayed of the component according to the total sliding distance; determining a movement distance of a canvas of the component in the Y-axis direction and a scaling rate of the canvas according to the total sliding distance and a height of the item-to-be-displayed; and controlling the canvas to perform a translational movement according to the movement distance and scaling the canvas according to the scaling rate simultaneously, drawing and displaying the item-to-be-displayed on the canvas. A three-dimensional scrolling effect of the component may be realized, and a user experience may be improved.
A method for displaying information, being performed by an electronic device, the method comprising:
Dependencies are inferred from the claim text.