Element drawing method and apparatus, device, and storage medium
AssigneeDouyin Vision Co., Ltd.
InventorXiangdong LIU
Life of this patent
Estimating the term…
Abstract
An element drawing method and apparatus, a device, and a storage medium. The method includes: obtaining an element configuration file corresponding to a first container, where the first container is used to carry an element on a page corresponding to the first container, the element configuration file is used to store level information and order information of the element in the first container; determining an element drawing sequence corresponding to the first container based on the level information and the order information of the element stored in the element configuration file; and drawing the element on the page corresponding to the first container based on the element drawing sequence corresponding to the first container.
Claims21
An element drawing method, comprising:
- obtaining an element configuration file corresponding to a first container, wherein the first container is used to carry an element on a page corresponding to the first container, the element configuration file is used to store level information and order information of the element in the first container, the level information is used to represent a drawing level of the element in the first container, and the information is used to represent drawing order information of the element in the drawing level;
- determining an element drawing sequence corresponding to the first container based on the level information and the order information of the element stored in the element configuration file;
- and
- drawing the element on the page corresponding to the first container based on the element drawing sequence corresponding to the first container.
(canceled)
(canceled)
A computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are run on a terminal device, the terminal device is enabled to implement an element drawing method, wherein the element drawing method comprises:
- obtaining an element configuration file corresponding to a first container, wherein the first container is used to carry an element on a page corresponding to the first container, the element configuration file is used to store level information and order information of the element in the first container, the level information is used to represent a drawing level of the element in the first container, and the order information is used to represent drawing order information of the element in the drawing level;
- determining an element drawing sequence corresponding to the first container based on the level information and the order information of the element stored in the element configuration file;
- and
- drawing the element on the page corresponding to the first container based on the element drawing sequence corresponding to the first container.
An element drawing device, comprising:
- a memory, a processor, and a computer program that is stored in the memory and that can be run on the processor, wherein when the processor executes the computer program, an element drawing method is implemented, wherein the element drawing method comprises:
- obtaining an element configuration file corresponding to a first container, wherein the first container is used to carry an element on a page corresponding to the first container, the element configuration file is used to store level information and order information of the element in the first container, the level information is used to represent a drawing level of the element in the first container, and the order information is used to represent drawing order information of the element in the drawing level;
- determining an element drawing sequence corresponding to the first container based on the level information and the order information of the element stored in the element configuration file;
- and
- drawing the element on the page corresponding to the first container based on the element drawing sequence corresponding to the first container.
(canceled)
Dependencies are inferred from the claim text.