Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Layer exporting method and device, equipment and storage medium

A technology of computer equipment and layers, applied in software engineering design, instrumentation, calculation, etc., can solve problems such as error-prone efficiency, and achieve the effect of avoiding low efficiency and avoiding errors.

Pending Publication Date: 2021-02-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The graph cutting process is mainly implemented manually by designers or developers based on personal experience, which is not only error-prone but also inefficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Layer exporting method and device, equipment and storage medium
  • Layer exporting method and device, equipment and storage medium
  • Layer exporting method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0057] figure 1 It is a schematic diagram of the principle of layer export provided by the embodiment of this application. like figure 1As shown, in step 101, the computer device obtains the node tree of the mockup file. This mockup file is used to develop the user interface. The node tree includes visual element nodes corresponding to layers of visual elements constituting the user interface in the mockup file. In step 102, the computer device eliminates visual element nodes in the node tree that support code construction, thereby obtaining visual element nodes in the node tree that do not support code construction. The computer device traverses all the visual element nodes in the node tree and removes the visual element nod...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a layer exporting method and device, equipment and a storage medium, and belongs to the field of UI design. The method comprises the steps that a node tree of a visual draft file of a user interface is acquired, the node tree comprises visual element nodes, and the visual element nodes correspond to graph layers of visual elements forming the user interface; visual elementnodes which do not support code construction in the node tree are determined; the visual element nodes belonging to the same level in the visual element nodes which do not support code construction are combined to obtain combined visual element nodes; and exporting the graph layers corresponding to the merged visual element nodes as first cut graph layers. In the image cutting process, manual operation is not needed, and the cut image layer can be exported only by processing the node tree of the visual draft file through computer equipment. The problems that errors are prone to occurring and efficiency is low due to manual operation can be avoided, and the technical scheme of full-automatic exporting and image cutting is provided.

Description

technical field [0001] The present application relates to the field of UI design, in particular to a layer export method, device, equipment and storage medium. Background technique [0002] Designers can use a vector design tool to design a UI (User Interface, user interface) of an application program, such as Sketch (a vector design tool produced by Bohemian Coding Company), Photoshop (a vector design tool produced by Adobe Company). [0003] After the designer uses the vector design tool to design the visual draft file of the UI interface, the visual draft file of the UI interface is provided to the front-end developer as the development basis. There are two kinds of visual elements on the mockup file: a first visual element that can be constructed by code and a second visual element that cannot be constructed by code. For the first visual element, it is implemented by the front-end developer through programming code, such as a button; for the second visual element, the d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 陈欣怡
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products