Canvas element display method and device, electronic equipment and storage medium
By grouping and rotating canvas elements in the interactive tablet, the problem of low element search efficiency is solved, enabling quick viewing of elements and saving space, and improving the efficiency of canvas use.
Patent Information
- Application Number
- CN202310228491.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-17
AI Technical Summary
In interactive tablets, when there are a large number of elements in the canvas, it is difficult for users to find the required elements quickly, resulting in low search efficiency.
By responding to the grouping trigger operation, the elements of the same group are stacked in the vertical direction, and in response to the rotation trigger operation, the elements are grouped and rotated according to the rotation angle, and the rotated elements are displayed to realize grouping and rotation of elements, save space, and improve search efficiency.
It enables quick viewing and search of elements, improves the efficiency of using canvas elements, presents 3D visual effects, and simplifies user operations.
Smart Images

Figure CN118656153A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for displaying canvas elements. Background Art
[0002] In an interactive tablet, a document editing tool is generally installed. Users can edit documents based on the document editing tool and present the edited document content to others. Among them, the editing page for document editing in the document editing tool can be recorded as a canvas, and the object edited by the user in the canvas can be recorded as an element, which can be a note, file, etc. edited by the user.
[0003] However, each element in the canvas is displayed independently. When there are many elements in the canvas, users cannot quickly find the elements they want. Summary of the invention
[0004] Based on this, the purpose of the present application is to provide a method, device, electronic device and storage medium for displaying canvas elements, which have the advantage of improving the efficiency of canvas element search.
[0005] According to a first aspect of an embodiment of the present application, a method for displaying a canvas element is provided, comprising the following steps:
[0006] In response to a grouping trigger operation on a plurality of elements in the canvas, the elements in the same group are stacked along a direction perpendicular to the canvas to obtain a plurality of element groups;
[0007] In response to a rotation triggering operation on at least one of the element groups, each element of the at least one element group is rotated according to a triggered rotation angle, and each rotated element is displayed.
[0008] According to a second aspect of an embodiment of the present application, a display device for canvas elements is provided, including:
[0009] An element grouping obtaining module, configured to, in response to a grouping triggering operation on a plurality of elements in the canvas, stack the elements in the same group along a direction perpendicular to the canvas to obtain a plurality of element groups;
[0010] The element rotation module is used to rotate each element of at least one element group according to the triggered rotation angle in response to a rotation trigger operation on at least one element group, and display each element after rotation.
[0011] According to a third aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing a method for displaying a canvas element as described in any one of the above.
[0012] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for displaying a canvas element as described in any one of the above items is implemented.
[0013] In the embodiment of the present application, in response to a grouping trigger operation on several elements in the canvas, the elements in the same group are stacked in a direction perpendicular to the canvas to obtain several element groups; in response to a rotation trigger operation on at least one of the element groups, each element of the at least one element group is rotated according to the triggered rotation angle, and each rotated element is displayed. In the embodiment of the present application, the elements in the canvas can be grouped to obtain element groups, which saves the use space of the canvas and improves the use efficiency of the canvas. The elements in the element group can be rotated so that the display of the elements presents a 3D visual effect, thereby enabling users to quickly view each element in the element group and improving the efficiency of canvas element search.
[0014] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application.
[0015] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a flow chart of a method for displaying canvas elements provided in one embodiment of the present application;
[0017] Figure 2 A schematic diagram of canvas element grouping provided for one embodiment of the present application;
[0018] Figure 3 A schematic diagram of a grouping of canvas elements after rotation provided by an embodiment of the present application;
[0019] Figure 4 A schematic diagram of grouping canvas elements after rotation provided by another embodiment of the present application;
[0020] Figure 5 A structural block diagram of a display device for canvas elements provided in one embodiment of the present application;
[0021] Figure 6 A schematic block diagram of the structure of an electronic device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0023] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0024] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0025] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0026] In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0027] In order to better understand the design of the present application, some methods for displaying canvas elements in the technology are described below.
[0028] In the related art, the elements in the canvas are displayed independently of each other. When there are many elements in the canvas, the user needs to zoom, translate, zoom, translate the canvas repeatedly to find the elements he wants, which leads to low efficiency in finding canvas elements for the user.
[0029] To this end, an embodiment of the present application proposes a method for displaying canvas elements.
[0030] The display method of the canvas element provided in the embodiment of the present application can be executed by a display device of the canvas element, which can be implemented by software and / or hardware, and can be composed of two or more physical entities, or one physical entity. The display device of the canvas element can be any electronic device, and the electronic device can be a computer, a mobile phone, an interactive tablet or other smart device.
[0031] The display device of the canvas element may include one or more processing cores, which may implement the display method of the canvas element of the present application in a pure software manner, or may implement the display method of the canvas element of the present application in a combination of software and hardware, such as digital signal processing, field programmable gate array, programmable logic array, etc., in at least one hardware form; a central processing unit, an image processor, a modem, etc., may be integrated, or a combination of several of the above. The display device of the canvas element may run an application program for the display method of the canvas element, and the application program may be presented in the form of a display device adapted to the canvas element, such as an APP application program. In some examples, it may also be presented in the form of a system plug-in, a web page plug-in, etc.
[0032] Example 1
[0033] See also Figure 1 , Figure 1 A flowchart of a method for displaying canvas elements provided in one embodiment of the present application is provided. The method includes the following steps:
[0034] S10: In response to a grouping triggering operation on a plurality of elements in the canvas, the elements in the same group are stacked along a direction perpendicular to the canvas to obtain a plurality of element groups.
[0035] There are multiple elements in the canvas, and each element includes an element title and an element content. For example, if the element is a note, the element includes a note title and a note content.
[0036] The group trigger operation can be right-clicking an element, right-clicking an element and then moving the element to the position area corresponding to another element, right-clicking an element and then moving another element to the position area corresponding to the element, right-clicking an element and then right-clicking another element, or selecting elements within a certain range and then right-clicking the mouse.
[0037] The plane where the canvas is located can be recorded as the XOY plane, and the direction perpendicular to the canvas can be recorded as the Z axis direction. The elements in the same group are in a stacked state, and there can be at least a partial overlap between the elements. When the elements in the same element group are stacked, the first element is at the bottom of the stack display, the second element is stacked above the first element, and the next element is stacked above the second element, and the elements are stacked in sequence.
[0038] See also Figure 2 , the element grouping 1 includes a grouping title and a plurality of elements 10. Specifically, the user can edit the element grouping 1, and can customize the grouping title of the element grouping 1. For example, if the element grouping is formed by multiple notes, the grouping title of the element grouping can be defined as a note combination. Optionally, the element grouping also includes a grouping type, which is used to indicate the type of the element grouping. When all elements in the element grouping are of the same type, the grouping type of the element grouping is the type of the element.
[0039] S20: In response to a rotation triggering operation on at least one element group, each element of the at least one element group is rotated according to a triggered rotation angle, and each rotated element is displayed.
[0040] Among them, there are multiple element groups in the canvas, and the rotation trigger operation can be a right-click of the mouse on an element group. Each element in the triggered element group rotates along a preset rotation axis. The preset rotation axis can be an X-axis parallel to the horizontal direction of the canvas, a Y-axis parallel to the vertical direction of the canvas, or a Z-axis perpendicular to the XOY plane where the canvas is located.
[0041] The rotation angle may be any angle along a preset rotation axis. In the embodiment of the present application, each element in the element group may be rotated along the Y axis or the X axis by a first preset angle, or each element in the element group may be first rotated along the Z axis by a second preset angle, and then rotated along the Y axis by a third preset angle, and each element after rotation is displayed, so that the display of the elements in the canvas presents a 3D visual effect, which facilitates the user to quickly view each element in the element group.
[0042] By using the embodiment of the present application, in response to a grouping trigger operation on several elements in the canvas, the elements in the same group are stacked in a direction perpendicular to the canvas to obtain several element groups; in response to a rotation trigger operation on at least one element group, each element of the at least one element group is rotated according to the triggered rotation angle, and each rotated element is displayed. The embodiment of the present application can group the elements in the canvas to obtain element groups, saving the use space of the canvas and improving the use efficiency of the canvas, and can rotate the elements in the element group so that the display of the elements presents a 3D visual effect, thereby enabling users to quickly view each element in the element group and improving the efficiency of canvas element search.
[0043] In an optional embodiment, the plurality of elements include a plurality of first elements and a plurality of second elements, and step S10 includes steps S101 to S102, which are specifically as follows:
[0044] S101: In response to a grouping triggering operation on each first element in a canvas, a plurality of initial element groups are created;
[0045] S102: In response to a drag operation of moving a plurality of second elements into a plurality of initial element groups, the second elements in the same initial element group are stacked with the first elements in a direction perpendicular to the canvas to obtain a plurality of element groups.
[0046] In an embodiment of the present application, the user right-clicks a first element to create an initial element group in the position area corresponding to the first element. The user drags multiple second elements to the initial element group and stacks the multiple second elements in sequence on top of the first element along the Z-axis direction, thereby automatically and quickly obtaining the element grouping.
[0047] In an optional embodiment, the canvas includes a navigation interface; the navigation interface includes a target element group corresponding to each element group and a movable positioning frame, and before step S20, step S201 is included, which is specifically as follows:
[0048] S201: In response to a triggering operation of translating a movable positioning frame to a target element group on a navigation interface, displaying a corresponding element group on a canvas.
[0049] In the embodiment of the present application, in order to facilitate the user to operate the target element group on the navigation interface, a movable positioning frame for navigation can be set on the navigation interface. The user's operation on the target element group on the navigation interface can be that the user selects the target element group by moving the movable positioning frame, and the target element group framed in the movable positioning frame is the selected target element group.
[0050] The plane where the canvas is located and the navigation interface can be proportionally converted, and by moving the movable positioning frame to select the target element group, navigation of the element group corresponding to the target element group on the canvas can be realized. Specifically, the user moves the movable positioning frame to a certain target element group on the navigation interface, and the corresponding element group is displayed on the canvas.
[0051] In an optional embodiment, the rotation angle includes a first angle rotated along a horizontal axis; the direction of the horizontal axis is parallel to the horizontal direction of the canvas, and step S20 includes step S202, which is specifically as follows:
[0052] S202: In response to a rotation triggering operation on at least one element group, each element of the at least one element group is rotated according to a first angle, and a title of each rotated element is displayed.
[0053] See also Figure 3 In an embodiment of the present application, the user right-clicks the element group and can select a rotation mode, including a preset rotation axis and rotation angle. Specifically, each element of the element group is rotated 90 degrees along the Y axis, so that the element group is presented in the form of a 3D book shelf. Each element 10 in the element group 1 can be regarded as a 3D book. Before each element 10 is rotated, each element 10 has a certain height in the Z-axis direction. After each element 10 is rotated, the presented 3D book has a certain thickness. The title of each element 10 is displayed within the thickness range of the 3D book, so that the user can quickly view the title of each element 10.
[0054] In an optional embodiment, the rotation angle includes a second angle rotated along a vertical axis and a third angle rotated along a horizontal axis; the direction of the vertical axis is perpendicular to the plane where the canvas is located, and the direction of the horizontal axis is parallel to the horizontal direction where the canvas is located. Step S20 includes step S203, which is specifically as follows:
[0055] S203: In response to a rotation triggering operation on at least one element group, each element of the at least one element group is rotated according to a second angle and a third angle, and each rotated element is displayed.
[0056] See also Figure 4 In the embodiment of the present application, the user right-clicks the element group and can select a rotation mode, including a preset rotation axis and rotation angle. Specifically, each element 10 of the element group 1 is rotated 15 degrees along the Z axis and then rotated 60 degrees along the Y axis, so that the user can see the title of each element 10 in the element group 1 at the best viewing angle.
[0057] In an optional embodiment, after step S20, steps S204 to S205 are included, which are specifically as follows:
[0058] S204: In response to a position adjustment operation on a target element of at least one element group, adjusting the target element to a target position;
[0059] S205: According to the target position of the target element, positions of remaining elements of at least one element group are adjusted in sequence.
[0060] In an embodiment of the present application, a user can select one of the elements from the rotated elements, namely, the target element, and adjust the position of the target element. Specifically, the position of the target element can be adjusted to the position of other elements, namely, the target position. After moving the target element to the target position, the positions of the remaining elements in the element group are adjusted in turn, thereby realizing the position adjustment of each element in the element group.
[0061] In an optional embodiment, the plurality of element groups include a first element group and a second element group, and the method for displaying canvas elements includes steps S206 to S207, which are specifically as follows:
[0062] S206: In response to a triggering operation of translating the first element group to the second element group on the canvas, displaying an element group merging pop-up window;
[0063] S207: In response to a triggering operation on the element grouping merging pop-up window, each element of the first element group and each element of the second element group are stacked along a direction perpendicular to the canvas to obtain a third element group.
[0064] In an embodiment of the present application, a user can perform group merging operations on several element groups in the canvas. Specifically, the user can operate the first element group and translate the first element group. When the first element group is translated to the position area corresponding to the second group, a request prompt for element group merging can pop up, specifically, a pop-up window for element group merging is displayed. After the user confirms the element group merging, the first element group and the second element group can be merged. Specifically, each element of the first element group and each element of the second element group are stacked along the Z-axis direction to obtain a third element group. Optionally, the user can rename the group title of the third element group and perform other operations. By merging element groups, the use space of the canvas can be saved and the use efficiency of the canvas can be improved.
[0065] Example 2
[0066] The following is an embodiment of the device of the present application, which can be used to execute the content of the method in Embodiment 1 of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the content of the method in Embodiment 1 of the present application.
[0067] See also Figure 5 , which shows a schematic diagram of the structure of a display device for canvas elements provided in one embodiment of the present application. The display device 3 for canvas elements provided in an embodiment of the present application includes:
[0068] An element grouping obtaining module 31 is used for, in response to a grouping triggering operation on a plurality of elements in the canvas, stacking the elements in the same group along a direction perpendicular to the canvas to obtain a plurality of element groups;
[0069] The element rotation module 32 is used to rotate each element of the at least one element group according to the triggered rotation angle in response to a rotation trigger operation on at least one element group, and display each rotated element.
[0070] By using the embodiment of the present application, in response to a grouping trigger operation on several elements in the canvas, the elements in the same group are stacked in a direction perpendicular to the canvas to obtain several element groups; in response to a rotation trigger operation on at least one element group, each element of the at least one element group is rotated according to the triggered rotation angle, and each rotated element is displayed. The embodiment of the present application can group the elements in the canvas to obtain element groups, saving the use space of the canvas and improving the use efficiency of the canvas, and can rotate the elements in the element group so that the display of the elements presents a 3D visual effect, thereby enabling users to quickly view each element in the element group and improving the efficiency of canvas element search.
[0071] Optionally, an element grouping obtaining module includes:
[0072] An initial element grouping creating unit, configured to create a plurality of initial element groups in response to a grouping triggering operation on each first element in the canvas;
[0073] The element group obtaining unit is used to stack the second elements and the first elements in the same initial element group in a direction perpendicular to the canvas to obtain a plurality of element groups in response to a drag operation of moving a plurality of second elements into a plurality of initial element groups.
[0074] Optional, element rotation module, including:
[0075] The first element rotation unit is used to rotate each element of the at least one element group according to a first angle in response to a rotation trigger operation on the at least one element group, and display a title of each element after rotation.
[0076] Optional, element rotation module, including:
[0077] The second element rotation unit is used to rotate each element of the at least one element group according to the second angle and the third angle in response to a rotation trigger operation on the at least one element group, and display each rotated element.
[0078] Optionally, the display device of the canvas element includes:
[0079] A merge pop-up window display module, configured to display an element group merge pop-up window in response to a triggering operation of translating a first element group to a second element group on a canvas;
[0080] The third element group obtaining module is used to stack the elements of the first element group and the elements of the second element group in a direction perpendicular to the canvas in response to a triggering operation on the element group merging pop-up window to obtain a third element group.
[0081] Example 3
[0082] The following is an embodiment of the device of the present application, which can be used to execute the content of the method in Embodiment 1 of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the content of the method in Embodiment 1 of the present application.
[0083] See also Figure 6 The present application also provides an electronic device 300, which may be a computer, a mobile phone, a tablet computer, an interactive tablet, etc. In an exemplary embodiment of the present application, the electronic device 300 is an interactive tablet, which may include: at least one processor 301, at least one memory 302, at least one display, at least one network interface 303, a user interface 304, and at least one communication bus 305.
[0084] The user interface 304 is mainly used to provide an input interface for the user and obtain data input by the user. Optionally, the user interface may also include a standard wired interface or a wireless interface.
[0085] The network interface 303 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0086] The communication bus 305 is used to realize the connection and communication between these components.
[0087] Among them, the processor 301 may include one or more processing cores. The processor uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor can integrate one or more combinations of central processing unit (Central Processing Unit, CPU), image processor (Graphics Processing Unit, GPU) and modem. Among them, the CPU mainly processes the operating system, user interface and application program, etc.; the GPU is responsible for rendering and drawing the content to be displayed by the display layer; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor, but implemented by a single chip.
[0088] Among them, the memory 302 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer-readable storage medium. The memory can be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory may also be optionally at least one storage device located away from the aforementioned processor. As Figure 6 As shown, the memory as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program.
[0089] The processor can be used to call an application of a method for displaying canvas elements stored in a memory, and specifically execute the method steps of the above-mentioned embodiment 1. The specific execution process can refer to the specific description shown in embodiment 1, which will not be repeated here.
[0090] Example 4
[0091] The present application also provides a computer-readable storage medium on which a computer program is stored, and the instructions are suitable for being loaded by a processor and executing the method steps of the above-mentioned embodiment 1. The specific execution process can refer to the specific description shown in the embodiment, and will not be repeated here. The device where the storage medium is located can be a personal computer, a laptop computer, a smart phone, a tablet computer and other electronic devices.
[0092] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are merely schematic, wherein the components described as separate parts may or may not be physically separated, and the parts displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0094] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function selected in the process. Figure 1 A process or multiple processes and / or boxes Figure 1function selected in a box or multiple boxes.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 steps for the function selected in a box or multiple boxes.
[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0097] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0098] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0099] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0100] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for displaying a canvas element, characterized in that: The steps include: In response to a grouping trigger operation on a plurality of elements in the canvas, the elements in the same group are stacked along a direction perpendicular to the canvas to obtain a plurality of element groups; In response to a rotation triggering operation on at least one of the element groups, each element of the at least one element group is rotated according to a triggered rotation angle, and each rotated element is displayed.
2. The method for displaying canvas elements according to claim 1, characterized in that: The rotation angle includes a first angle rotated along a horizontal axis; the direction of the horizontal axis is parallel to the horizontal direction of the canvas; the step of rotating each element of at least one element group according to the triggered rotation angle in response to a rotation trigger operation on at least one element group, and displaying each element after rotation, includes: In response to a rotation trigger operation on at least one of the element groups, each element of the at least one element group is rotated according to the first angle, and a title of each of the rotated elements is displayed.
3. The method for displaying canvas elements according to claim 1, characterized in that: The rotation angle includes a second angle rotated along a vertical axis and a third angle rotated along a horizontal axis; the direction of the vertical axis is perpendicular to the plane where the canvas is located, and the direction of the horizontal axis is parallel to the horizontal direction where the canvas is located; The step of rotating each element of at least one element group according to a triggered rotation angle in response to a rotation trigger operation on at least one element group, and displaying each element after rotation, comprises: In response to a rotation trigger operation on at least one of the element groups, each element of the at least one of the element groups is rotated according to the second angle and the third angle, and each of the rotated elements is displayed.
4. The method for displaying canvas elements according to any one of claims 1 to 3, characterized in that: The plurality of element groups include a first element group and a second element group; The method further comprises: In response to a triggering operation of translating the first element group to the second element group on the canvas, displaying an element group merging pop-up window; In response to a triggering operation on the element grouping merging pop-up window, each element of the first element grouping and each element of the second element grouping are stacked along a direction perpendicular to the canvas to obtain a third element grouping.
5. The method for displaying canvas elements according to any one of claims 1 to 3, characterized in that: After the step of rotating each element of at least one element group according to a triggered rotation angle in response to a rotation trigger operation on at least one element group, and displaying each element after rotation, the method further comprises: In response to a position adjustment operation on a target element of at least one of the element groups, adjusting the target element to a target position; According to the target position of the target element, positions of remaining elements of at least one of the element groups are adjusted in sequence.
6. The method for displaying canvas elements according to any one of claims 1 to 3, characterized in that: The plurality of elements include a plurality of first elements and a plurality of second elements; The step of stacking the elements in the same group along a direction perpendicular to the canvas to obtain a plurality of element groups in response to a grouping triggering operation on the plurality of elements in the canvas comprises: In response to a grouping triggering operation on each of the first elements in the canvas, creating a plurality of initial element groups; In response to a drag operation of moving a plurality of the second elements into a plurality of the initial element groups, the second elements and the first elements in the same initial element group are stacked along a direction perpendicular to the canvas to obtain a plurality of element groups.
7. The method for displaying canvas elements according to any one of claims 1 to 3, characterized in that: The canvas includes a navigation interface; the navigation interface includes a target element group corresponding to each of the element groups and a movable positioning frame; Before the step of rotating each element of at least one element group according to a triggered rotation angle in response to a rotation trigger operation on at least one element group, and displaying each element after rotation, the method comprises: In response to a triggering operation of translating the movable positioning frame to the target element group on the navigation interface, the corresponding element group is displayed on the canvas.
8. A display device for canvas elements, characterized in that: include: An element grouping obtaining module, configured to, in response to a grouping triggering operation on a plurality of elements in the canvas, stack the elements in the same group along a direction perpendicular to the canvas to obtain a plurality of element groups; The element rotation module is used to rotate each element of at least one element group according to the triggered rotation angle in response to a rotation trigger operation on at least one element group, and display each element after rotation.
9. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method for displaying canvas elements as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for displaying a canvas element as claimed in any one of claims 1 to 7 is implemented.
