Method and device for determining element information in page, electronic equipment and storage medium
A technology of element information and elements, applied in the computer field, can solve problems such as low measurement efficiency, low measurement accuracy, and errors, and achieve the effect of convenient and accurate determination
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a schematic flowchart of a method for determining element information in a page provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of automatically determining the size of each element in the page and the distance between elements. The method can be determined by determining the element information in the page The system can be implemented in the form of software and / or hardware, and the hardware can be electronic equipment, such as mobile terminals and PC terminals.
[0030] Before introducing the technical solution of this embodiment, the application scenario can be described as an example. Usually a page includes multiple elements, and each element needs to be displayed on the page according to the pre-designed requirements. After the front-end page layout is completed, it can be measured whether each element in the page is laid out according to the design requirements.
[0031] Such as figure 1 Describe...
Embodiment 2
[0056] image 3 It is a schematic flowchart of a method for determining element information in a page provided by Embodiment 2 of the present invention. On the basis of the foregoing embodiments, when it is detected that the element to be measured is triggered and the confirmation button is triggered, the element to be measured can be kept in the transparent layer, and when it is detected that the position of the target corresponding to the cursor changes, the changed target The element to be measured corresponding to the position is displayed in the transparent layer, and the distance information between two target elements can be determined at this time. Wherein, technical terms that are the same as or corresponding to those in the foregoing embodiments will not be repeated here.
[0057] Such as image 3 As shown, the method includes:
[0058] S210. When it is detected that the element to be measured is triggered, retain the target element in the transparent layer, and u...
Embodiment 3
[0075] Figure 6 It is a schematic structural diagram of an apparatus for determining element information in a page provided by Embodiment 3 of the present invention. The apparatus includes: an element to be measured determining module 310 , a target element determining module 320 and a size information determining module 330 .
[0076] Wherein, the element to be measured determining module 310 is used to obtain the target position corresponding to the current cursor, and determine the element to be measured corresponding to the target position; the target element determining module 320 is used to copy the element to be measured in The target element is obtained from a preset transparent layer; the size information determining module 330 is configured to acquire attribute information of the target element, and determine size information of the element to be measured based on the attribute information.
[0077] On the basis of the above technical solution, the module for determ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com