Display device and drawing object selection method

CN122228477APending Publication Date: 2026-06-16HISENSE VISUAL TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HISENSE VISUAL TECH CO LTD
Filing Date
2025-02-10
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

When selecting a transparent drawing object on an existing display device, using a stroke method may cause the color effect to change, affecting the user experience.

Method used

By creating a transparent selection layer, the hollow outline graphic is displayed on the transparent selection layer. The hollow outline graphic is the non-overlapping area formed by superimposing the target painting object and the outline graphic, thereby achieving a transparent effect of the target painting object.

Benefits of technology

The color effect of transparent painting objects is effectively maintained, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122228477A_ABST
    Figure CN122228477A_ABST
Patent Text Reader

Abstract

This application discloses a display device and a method for selecting drawing objects. The display device may include a display, a memory, and at least one processor connected to the display and the memory. It is configured to respond to user-input selection operation commands, create a transparent selection layer, detect the target drawing object indicated in the selection operation command, and draw a cutout outline graphic based on the target drawing object. The display level of the transparent selection layer can be higher than the display level of the display layer containing the drawing object. The cutout outline graphic can be a non-overlapping area formed by superimposing the target drawing object and the outline graphic. The outline graphic can be a graphic formed by thickening and rendering the target drawing object. Finally, the display can be controlled to display the cutout outline graphic in the transparent selection layer, so that the target drawing object is displayed through the cutout outline graphic. This display device can use a layering method and a cutout outline method to solve the problem of color effect changes when a transparent drawing object is selected.
Need to check novelty before this filing date? Find Prior Art

Description

Display device and drawing object selection method

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202410362435.4, filed on March 27, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application relates to the technical field of display devices, and in particular to a display device and a method for selecting a drawing object. Background Art

[0004] Display devices refer to terminal devices capable of outputting specific display images. These devices can include smart TVs, communication terminals, smart advertising screens, projectors, and other terminal devices. Taking smart TVs as an example, they are based on Internet application technologies, feature open operating systems and chips, and possess an open application platform. They enable two-way human-computer interaction and integrate multiple functions, including audio, video, entertainment, and data, to meet the diverse and personalized needs of users.

[0005] For display devices that support touch interaction, you can run a whiteboard application and implement writing or drawing based on user touch gestures. To edit, transform, or adjust one or more drawing objects on the whiteboard interface, you can select one or more drawing objects and perform the corresponding operation.

[0006] The display device can select the selected target drawing object based on a stroke method. For non-transparent drawing objects, this stroke method clearly identifies the selected target drawing object and preserves the color of the target drawing object. However, for transparent drawing objects, using this stroke method can cause the colors of the overlapping area of ​​the target drawing object and the outline graphic to overlap due to the transparency, thereby changing the color of the target drawing object and affecting the user experience. Summary of the Invention

[0007] According to some embodiments of the present application, a display device is provided, which may include: a display, a memory, and at least one processor. The display may be configured to display a user interface, the display being connected to a touch interaction module, the touch interaction module being configured to receive a touch instruction input by a user, the user interface including at least one drawing object added in response to the touch instruction, the memory being configured to store a computer program, and the at least one processor, being connected to the display and the memory, being configured to execute the computer program to cause the display device to: create a transparent selection layer in response to a selection operation instruction input by the user, the transparent selection layer being displayed at a higher level than the display layer containing the drawing object; detect a target drawing object indicated in the selection operation instruction; draw a hollowed-out outline graphic based on the target drawing object, the hollowed-out outline graphic being a non-overlapping area formed by superimposing the target drawing object and the outline graphic, or the outline graphic being a graphic formed by bolding the target drawing object; and control the display to display the hollowed-out outline graphic in the transparent selection layer so that the target drawing object is displayed through the hollowed-out outline graphic.

[0008] According to some embodiments of the present application, a method for selecting a painting object for a display device is further provided, which may include: in response to a selection operation instruction input by a user, creating a transparent selection layer, wherein the display level of the transparent selection layer may be higher than the display level of the display layer where the painting object is located; detecting a target painting object indicated in the selection operation instruction; drawing a hollow outline graphic based on the target painting object, wherein the hollow outline graphic may be a non-overlapping area formed by superimposing the target painting object and the outline graphic, and the outline graphic may be a graphic formed by bolding the target painting object; and controlling the display of the display device to display the hollow outline graphic in the transparent selection layer, so that the target painting object is displayed through the hollow outline graphic. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] FIG1 is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments of the present application;

[0010] FIG2 is a schematic diagram of a hardware configuration of a control device according to some embodiments of the present application;

[0011] FIG3 is a schematic diagram of a hardware configuration of a display device according to some embodiments of the present application;

[0012] FIG4 is a schematic diagram of software configuration of a display device according to some embodiments of the present application;

[0013] FIG5 is a schematic diagram of operating parameters of touch interaction data provided according to some embodiments of the present application;

[0014] FIG6 is a schematic diagram of a whiteboard interface provided according to some embodiments of the present application;

[0015] FIG7 is a structural diagram of a display system according to some embodiments of the present application;

[0016] FIG8 is a schematic diagram of an acceleration layer and an OSD layer according to some embodiments of the present application;

[0017] FIG9 is a schematic diagram of a set square provided according to some embodiments of the present application;

[0018] FIG10 is a schematic diagram of a pen stroke effect provided according to some embodiments of the present application;

[0019] FIG11 is a schematic diagram of a drawing object in a whiteboard interface according to some embodiments of the present application;

[0020] FIG12 is a schematic diagram of performing a selection operation on a non-transparent drawing object based on a stroke method according to some embodiments of the present application;

[0021] FIG13 is a schematic diagram of performing a selection operation on a transparent drawing object based on a stroke method according to some embodiments of the present application;

[0022] FIG14 is a schematic diagram of image mixing in a source image mode according to some embodiments of the present application;

[0023] FIG15 is a schematic diagram of image mixing in a clearing mode according to some embodiments of the present application;

[0024] FIG16 is a schematic diagram of performing a selection operation on a drawing object based on a clear mode according to some embodiments of the present application;

[0025] FIG17 is a schematic diagram of performing a selection operation on a drawing object based on a source image mode according to some embodiments of the present application;

[0026] FIG18 is a schematic diagram of the hierarchy of display layers and transparent selection layers according to some embodiments of the present application;

[0027] FIG19 is a schematic diagram of generating a hollowed-out outline graphic based on a clearing mode according to some embodiments of the present application;

[0028] FIG20 is a schematic diagram of generating a hollowed-out outline graphic based on a source image pattern according to some embodiments of the present application;

[0029] FIG21 is a schematic diagram of performing a selection operation on a painting object based on a layering method and a hollowing-outline method according to some embodiments of the present application. DETAILED DESCRIPTION

[0030] The following embodiments will be described in detail, with examples shown in the accompanying drawings. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without inventive work. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following embodiments do not represent all implementation methods consistent with the present application. They are only examples of systems and methods consistent with some aspects of the present application as detailed in the claims.

[0031] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.

[0032] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar or similar objects or entities, and are not necessarily meant to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way are interchangeable under appropriate circumstances. The terms "including" and "having" and any variations thereof are intended to cover but not exclude inclusion. For example, a product or device comprising a series of components is not necessarily limited to all the components clearly listed, but may include other components not clearly listed or inherent to these products or devices. The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that can perform the functions associated with the element.

[0033] Figure 1 is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments of the present application. As shown in Figure 1 , a user can operate a display device 200 through a mobile terminal 300 and a control device 100 .

[0034] In some embodiments, the mobile terminal 300 can install software applications with the display device 200 and achieve connection and communication through a network communication protocol to achieve the purpose of one-to-one control operations and data communication.

[0035] In some embodiments, the audio and video content displayed on the mobile terminal 300 may also be transmitted to the display device 200 to implement a synchronous display function.

[0036] 1 , the display device 200 can also communicate data with the server 400 through various communication methods. The display device 200 can be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.

[0037] In some embodiments, in addition to providing broadcast reception television functions, the display device 200 may also provide intelligent network television functions with computer support functions, including but not limited to network television, smart TV, and Internet Protocol Television (IPTV).

[0038] FIG2 is a block diagram of a hardware configuration of a display device according to some embodiments of the present application. As shown in FIG2 , in some embodiments, the display device 200 may include at least one of a tuner / demodulator 210, a communication device 220, a detector 230, a device interface 240, at least one processor 250, a display 260, an audio output interface 270, a memory, a power supply, and a communication device interface 280.

[0039] In some embodiments, the communication device 220 is a component that can be used to communicate with an external device or server 400 according to various communication protocol types.

[0040] In some embodiments, detector 230 can be used to collect signals from the external environment or external interactions. For example, detector 230 can include a light receiver, a sensor for collecting ambient light intensity; or detector 230 can include an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or detector 230 can include a sound collector, such as a microphone, for receiving external sounds.

[0041] In some embodiments, the device interface 240 may include, but is not limited to, any one or more of the following: a High Definition Multimedia Interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (Composite Video Broadcast Signal or Composite Video Blanking and Sync, CVBS), a Universal Serial Bus (USB) input interface (referred to as a USB interface), an RGB port, or the like. Alternatively, the device interface 240 may be a composite input / output interface formed by multiple of the aforementioned interfaces.

[0042] For example, to enrich the display types of display device 200, display device 200 may be provided with an HDMI interface and a USB interface. The HDMI interface can connect to devices with video and audio input / output functions and implement the corresponding audio and video output / input functions through the HDMI driver. The USB interface can connect to devices with signal and data transmission functions and interactive functions and, based on the USB driver, receive signals, transmit data, and perform specific interactive actions.

[0043] In some embodiments, the processor may include a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), a random access memory (RAM), a read-only memory (ROM), and a first interface to an nth interface for input / output.

[0044] In some embodiments, at least one processor 250 can control the operation of the display device and respond to user operations through various software control programs (computer programs) stored in the memory. At least one processor 250 can control the overall operation of the display device 200.

[0045] In some embodiments, at least one processor 250 and the tuner / demodulator 210 may be located in different separate devices, that is, the tuner / demodulator 210 may also be located in an external device of the main device where the at least one processor 250 is located, such as an external set-top box.

[0046] In some embodiments, the user may input a user command through a graphical user interface (GUI) displayed on the display 260 , and the user input interface receives the user input command through the graphical user interface (GUI).

[0047] In some embodiments, the display 260 may include a display screen component for presenting images, and a driving component for driving image display, a component for receiving image signals output from a controller, and a component for displaying video content, image content, and a menu control interface, as well as a user control UI interface, etc.

[0048] In some embodiments, the display 260 may be a liquid crystal display, an organic light-emitting diode (OLED) display, a projection display, or a projection device and a projection screen.

[0049] In some embodiments, the display device 200 may also support touch interaction, that is, a touch interaction module may be provided on the display device 200, which may be a built-in module or an external module. For example, to implement touch interaction operations, the display 260 of the display device 200 may be provided with a touch panel (TP), which can receive touch signals input by fingers, contacts, styluses, etc., and execute touch interaction responses according to pre-defined interaction strategies. Of course, the display device 200 may also be an integrated touch screen.

[0050] For a display device 200 with an external touch interaction module, it can connect to a terminal, device, or component with touch functionality via the device interface 240 of the display device 200. For example, the USB or USB-C interface of the display device 200 can be connected to a touchpad. The touchpad can receive real-time touch data input by the user and transmit the touch data to the display device 200 via the USB channel. The display device 200 can then perform interactive responses based on the received touch data in conjunction with a touch application, enabling the display device 200 to support touch interaction operations.

[0051] In some embodiments, the communication device interface 280 is an interface that can be used to receive control input.

[0052] FIG3 is a block diagram of a hardware configuration of a control device according to some embodiments of the present application. As shown in FIG3 , the control device 100 may include a control device 110 , a communication interface 130 , a user input / output interface, a memory 190 , and a power supply 180 .

[0053] In some embodiments, the control device 100 can be configured to control the display device 200, and can receive the user's input operation instructions, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, thereby acting as an interactive intermediary between the user and the display device 200.

[0054] In some embodiments, the control device 100 may be a smart device. For example, the control device 100 may be installed with various applications for controlling the display device 200 according to user needs.

[0055] In some embodiments, as shown in FIG. 1 , the mobile terminal 300 or other intelligent electronic device can perform similar functions as the control device 100 after installing an application for controlling the display device 200 .

[0056] In some embodiments, the control device 110 may include a processor 112, RAM 113, ROM 114, a communication interface 130, and a communication bus. The control device 110 may be used to control the operation and operation of the control device 100, as well as communication and coordination between internal components and external and internal data processing functions.

[0057] In some embodiments, the communication interface 130 communicates control signals and data signals with the display device 200 under the control of the control device 110. The communication interface 130 may include at least one of a WiFi chip 131, a Bluetooth module 132, an NFC module 133, or other near field communication modules.

[0058] In some embodiments, the user input / output interface 140 , wherein the input interface may include at least one of a microphone 141 , a touchpad 142 , a sensor 143 , a button 144 , and other input interfaces.

[0059] In some embodiments, the control device 100 may include at least one of a communication interface 130 and an input / output interface 140. The control device 100 may be configured with the communication interface 130, such as a WiFi, Bluetooth, or NFC module, to encode user input commands via the WiFi protocol, Bluetooth protocol, or NFC protocol and transmit them to the display device 200.

[0060] In some embodiments, the memory 190 may be used to store various operating programs, data, and applications that drive and control the control device 100 under the control of at least one processor. The memory 190 may store various control signal instructions input by the user.

[0061] In some embodiments, the power supply 180 may be used to provide operating power support for various components of the control device 100 under the control of at least one processor.

[0062] Figure 4 is a schematic diagram of the software configuration in the display device provided according to some embodiments of the present application. In some embodiments, the system of the display device 200 can be divided into three layers, namely, the application layer, the middleware layer and the hardware layer from top to bottom.

[0063] In some embodiments, the application layer may include commonly used applications on the TV and an application framework. Common applications may be applications developed based on a browser, such as HyperText Markup Language (HTML) 5 APPs; and native applications.

[0064] In some embodiments, the Application Framework is a complete program model that has all the basic functions required by standard application software, such as file access, data exchange, etc., as well as the user interfaces of these functions (toolbars, status bars, menus, dialog boxes).

[0065] In some embodiments, native apps may support online or offline operation, message push, or local resource access.

[0066] In some embodiments, the middleware layer may include various television protocols, multimedia protocols, and system components. The middleware can utilize the basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, thereby achieving resource and function sharing.

[0067] In some embodiments, the hardware layer may include a hardware abstraction layer (HAL) interface, hardware, and drivers. The HAL interface may be a unified interface for all TV chipsets, with specific logic implemented by each chip. Drivers may include, but are not limited to, audio drivers, display drivers, Bluetooth drivers, camera drivers, Wi-Fi drivers, USB drivers, HDMI drivers, sensor drivers (such as fingerprint sensors, temperature sensors, pressure sensors, etc.), and power drivers.

[0068] For a display device 200 that supports touch interaction operations, the touch interaction module can receive touch interaction data input by the user. According to the interaction principle of the touch interaction module, the touch interaction module can detect relevant parameters in the touch action. For example, the display 260 of the display device 200 is provided with a capacitive touch layer. When the user's finger touches any position of the touch layer, the capacitance of the touch layer at the touched position will change. At this time, the touch interaction module can record the position of the capacitance change and, in conjunction with a timer in at least one processor, record the time when the capacitance change occurs to generate touch interaction data.

[0069] In some embodiments, the physical signals detected by the touch interaction module need to be converted before they can be read by the at least one processor 250 of the display device 200. For example, an analog signal of capacitance change needs to be converted into a digital signal before being transmitted to the at least one processor 250 of the display device 200. To adapt to the screen display process of the display device 200, the touch data detected by the touch interaction module also needs to be coordinate mapped so that the location corresponding to the touch data can correspond to the pixel points in the display 260 of the display device 200 or the user interface. For example, if the coordinate position detection accuracy of the touch interaction module is 65536×65536, and the resolution of the display 260 of the display device 200 is 3840×2160, then after the touch interaction module detects the touch data, the touch point position in the width and height directions can be mapped according to the ratio of 65536 / 3840 and 65536 / 2160, respectively, so that the display device 200 can perform relevant operation responses based on the mapped touch point position coordinates.

[0070] Among them, the touch data may include different operation parameters according to the user's input method. For example, as shown in Figure 5, the touch data may include but is not limited to the touch time, touch position, touch event type, number of touch points, etc. of the touch operation. During a touch interaction process, the touch event types that can be detected by the touch interaction module may include but are not limited to: a drop (down) event, a move (move) event, and a lift (up) event of the touch action. Corresponding to the entire touch trajectory, a starting point, a trajectory point, and an end point can be formed. Each touch event records the corresponding touch time and touch position.

[0071] In the process of executing the touch interaction response, the display device 200 can classify different touch times, touch positions, number of touch points and touch event types, so as to detect the user's touch input gesture, thereby performing different interactive responses for different input gestures. For example, when the number of touch points in the touch data detected by the touch interaction module is 1, the touch event types only include down events and up events, and the time interval between the down event and the up event is less than the single-click event time threshold, and the touch position change distance of the down event and the up event is less than the jitter distance threshold, it can be determined that the current user's touch input gesture is a click gesture. Based on the click gesture, the display device 200 executes the operation of starting the application according to the icon in the area where the touch position corresponding to the click gesture is located.

[0072] Similarly, the display device 200 can also detect other touch interaction gestures input by the user based on the touch duration, touch location, number of touch points, and touch event type, such as a double-click gesture, a slide gesture, a long press gesture, a multi-finger click gesture, and a multi-finger slide gesture. Different interaction gestures can derive different touch parameters. For example, a slide gesture can also generate parameters such as slide distance, slide speed, slide direction, and slide trajectory shape. Different touch parameters can be used to perform different interactive controls.

[0073] In some embodiments, in order to enrich the touch interaction types supported by the display device 200, the display device 200 can also perform complex gesture detection based on the dynamic change rules of touch time, touch position, number of touch points and touch event type. For example, when the touch interaction module detects that the touch data input by the user includes multiple touch points, and the touch position of each touch point is close to each other as the user inputs, it can be determined that the touch gesture currently input by the user is a grabbing gesture. In this way, based on complex gesture detection, the display device 200 can perform more interactive responses. For example, when the detected touch gesture is a grabbing operation for an image view, the display device 200 can respond to the grabbing gesture and perform a control action to move the image display position.

[0074] In some embodiments, touch gestures can also be combined with touch positions to form touch interaction operations based on specific positions. For example, when the touch interaction module detects that the down event position during the touch operation is at the top of the display 260, the touch point position corresponding to the move event moves downward. When the up event is detected, the display device 200 can determine that the current touch gesture is a swiping down from the top of the screen. Therefore, the display device 200 can respond to the touch gesture and control the display 260 to present a drop-down list.

[0075] In some embodiments, some touch interaction gestures can be used to perform interactive actions based on the operating system of the display device 200, referred to as global gestures. For example, the above example of display device 200 swiping down from the top of the screen to call up a drop-down list. In other embodiments, some touch interaction gestures can be used to perform interactive actions based on specific touch applications. For example, when the display device 200 is running a whiteboard application, a user-inputted sliding touch operation can be used to draw a track line on the whiteboard.

[0076] In some embodiments, the touch application can be a system application or a third-party application developed based on the specific display device type and user needs. The touch application can be installed on the display device 200 and started and run under user control. For example, the user can control the display device 200 to run the whiteboard application by clicking the "whiteboard" application icon in the application interface of the display device 200.

[0077] It should be noted that the whiteboard application can be a standalone application, an associated application, or a functional module within a touch application. Different whiteboard applications can be launched in different ways. For example, a user can launch a standalone whiteboard application through the application interface of the display device 200; a user can also launch a linked whiteboard application by performing a "whiteboard" operation on the conference application; and a user can control the conference application to launch the whiteboard functional module by clicking the "whiteboard" icon on the conference application.

[0078] Different forms of whiteboard applications may present different whiteboard application interface forms after startup. For example, when a user starts a whiteboard application through an associated application form, the display device 200 may automatically enter dual-screen (or split-screen) mode. In dual-screen (or split-screen) mode, the display device 200 may display the user interface through two display areas, i.e., the main screen displays the original application (such as a conference application) interface, and the secondary screen displays the whiteboard application interface.

[0079] After the whiteboard application is running, the display device 200 can switch to displaying a whiteboard interface. As shown in FIG6 , the whiteboard interface may include drawing tool controls for drawing operations, such as pen shape, graphics, line shape, color, erase, clear screen, and selection. The user can click any control to draw graphics according to specific drawing needs.

[0080] As shown in FIG7 , the display device 200 can render and display a drawing picture in real time through an image generation (Image Producer) module, an image rendering (Surface Flinger) module, a synthesis (Composer) module, a video processing unit hardware (VPU hardware) module, and a display (screen).

[0081] In the process of displaying the drawn picture, the graphics interface (openGLES) of the image generation module can be connected to the whiteboard application, can be used to generate the drawn image content, and can pass the image content to the image rendering module. The image rendering module can be used to control the display 260 display content, that is, to render the image content through the user interaction layer (UI layer) or the video layer (video layer) according to the image content. In order to obtain a better display effect, the image content of the UI layer can be rendered by the GPU component, thereby forming a picture frame for display in the synthesis module. Among them, the synthesis module can form the picture content by software or hardware. For example, the synthesis module can be a hardware synthesis (Hardware Composer, HWC) module.

[0082] In some embodiments, the synthesis module can store image frames in a frame buffer and a video buffer, respectively, and can form image content in corresponding layers through the video processing module. That is, the image frames generated during the video playback process can form image content through the video plane, while the image frames of other image screens (such as touch tracks, graphics, etc.) can form image content through the primary on-screen display (OSD) plane. Finally, the display device 200 can form the final image through the blending unit (blend) of the video processing module and display it on the display 260.

[0083] Since the whiteboard application will respond to the user's touch operation in real time and present the user's touch trajectory, in order to present a better real-time response effect, the display device 200 should shorten the touch action input time and the delay time of the drawing result display. To this end, in some embodiments, the display device 200 can present a real-time painting effect by setting an acceleration layer. That is, in the video process module of the display device 200, an additional extended display layer (external OSD plane) can be set on the basis of the main OSD layer and the video layer. Among them, the extended display layer can be configured with different layer characteristics according to the specific display effect requirements. For example, the bitmap refresh mode of the extended display layer can be modified so that the extended display layer is refreshed in real time according to the area, thereby improving the display speed of the graphics. At this time, the extended display layer can be used as an acceleration layer in scenes with high dynamic display effects.

[0084] For example, when display device 200 is running a whiteboard application, to improve the real-time response speed of line drawing, the touch track can be drawn in real time on an extended display layer (acceleration layer) after detecting a user touch operation. As shown in Figure 8, the acceleration layer can be displayed at a higher level than other layers. When the user completes the touch input, the line drawn by the acceleration layer is updated to other layers. This can reduce input latency and improve the real-time display effect of the whiteboard application drawing process.

[0085] In some embodiments, the extended display layer can also work together with other graphics to improve display quality. For example, the acceleration layer can respond to the touch events input by the user at the same time as the main OSD layer, and draw graphics separately. However, since the acceleration layer is displayed above the main OSD layer, the graphics drawn by the acceleration layer can block the graphics drawn by the OSD layer, maintaining real-time response speed. After the user inputs the touch interaction action, the content displayed by the acceleration layer can be released directly, and the OSD layer directly forms the drawn graphics, so there is no need for the acceleration layer to refresh the drawn graphics to the OSD layer, reducing the graphics mixing time. It not only improves the real-time display effect of the graphics drawing process, but also improves the final presentation quality of the graphics drawing.

[0086] In some embodiments, in order to adapt to different user needs, the whiteboard application can also dynamically configure different interface contents. For example, as shown in Figure 9, taking a display device used in the field of education as an example, a "teaching tool" option can be included in the whiteboard application run by the display device 200 used in the field of education. When the user clicks on the teaching tool option, a teaching tool list can pop up. The teaching tool list can include tool options of the type "ruler", "set square", "protractor", etc. After the user clicks on the "set square" tool option, the "set square" tool can be called to assist in drawing. At this time, the display device 200 can add a movable set square tool graphic to the whiteboard drawing interface, and when the user's touch operation trajectory is close to the edge of the set square tool graphic, a straight line segment is drawn along the edge of the set square tool graphic.

[0087] In some embodiments, the whiteboard application can also store the graphic objects drawn by each user touch action. Among them, a touch action refers to the process from the user's finger (or stylus) contacting the touch layer to the user's finger (or stylus) leaving the touch layer. That is, if the user inputs a click action, a touch action should include a down event and an up event. If the user inputs a sliding action, a touch action should include a down event, a move event, and an up event. Each touch action can generate a drawing object, and the whiteboard application can record the drawing object, making it easier for the user to perform actions such as selection, undo, and redo.

[0088] When storing graphics, the whiteboard application can also associate information with graphic objects based on the graphic's characteristics and input state. For example, after a user draws a line, the whiteboard application can assign a shape identifier to the line object. The shape identifier can be associated with the line object and stored, and can be used by other modules of the whiteboard application or other applications to facilitate operations such as object selection, object retrieval, and object deletion.

[0089] In some embodiments, the whiteboard application can also render and process the graphics drawn by the user to make the graphics drawn by the user more accurate. For example, as shown in Figure 10, when the user writes text or draws on the whiteboard application, the whiteboard application can set a pen stroke effect for the handwriting. Among them, the pen stroke effect refers to the effect that the end of the drawn line has a gradually tapering effect. The whiteboard application can dynamically adjust the pen stroke effect according to parameters such as the movement trend and movement speed of the touch track during the user's drawing process. For example, the faster the user writes, the longer the pen stroke length; the slower the user writes, the shorter the pen stroke length.

[0090] The process of rendering and processing the graphics drawn by the user by the whiteboard application can be implemented based on a preset graphics algorithm model. For example, the pen stroke effect can be drawn with a tip effect through a water drop-shaped pen stroke model, and the tip effect is added to the end of the drawn graphic. For example, the whiteboard application can detect the shape of the user's drawn graphics within a preset drawing cycle, and replace the drawn shape with a standard graphics model to improve the standardization of the drawn graphics. To this end, a graphic recognition model can be built into the whiteboard application, and all the lines drawn by the user within the preset drawing cycle can form an image to be recognized, and the image to be recognized can be processed by the graphic recognition model to identify a standard graphic that is similar to the drawn graphic within the drawing cycle, thereby replacing the drawn graphic displayed in the whiteboard application interface.

[0091] In some embodiments, the whiteboard interface may also provide drawing assistance tools and menus for adjusting drawing content. For example, the whiteboard interface may include a "select" tool. When the user clicks the "select" tool icon, the whiteboard application can be controlled to enter object selection mode. In object selection mode, the display device 200 can call drawing objects that intersect with the touch position in the user's touch interaction operation down event, and / or move event, and / or up event, to achieve the purpose of multi-graphic selection.

[0092] In some embodiments, the whiteboard application may also support multiple gesture interactions and provide different control functions for different gesture interactions. For example, in response to a multi-finger swipe operation by the user, the whiteboard application may move the whiteboard drawing area along the multi-finger swipe trajectory. The whiteboard application may also execute an erase function in response to a full palm swipe operation by the user, erasing the drawing covered by the palm swipe trajectory.

[0093] In some embodiments, when display device 200 displays a whiteboard interface, a user can perform touch interactions through touch actions such as clicking, long pressing, and sliding, causing display device 200 to perform corresponding operations and update the whiteboard interface to display the added drawing objects. As shown in FIG11 , the whiteboard interface may include multiple drawing objects. To edit, transform, adjust, or perform other operations on one or more drawing objects in the whiteboard interface, one or more drawing objects can be individually selected to perform the corresponding operation. Specifically, display device 200 can respond to a selection operation instruction input by the user, detect the target drawing objects indicated in the selection operation instruction, and perform a selection operation on the one or more target drawing objects. During the selection process of one or more target drawing objects in the drawing interface, to facilitate the user's distinction between selected and unselected objects, a selection effect is displayed when a target drawing object is selected, for example, the outline of the target drawing object becomes highlighted. FIG11 illustrates the multiple drawing objects as examples of transparent drawing objects. It is understood that the overlapping portions of drawing object A with drawing objects B and C can show the superimposed effect of drawing object A.

[0094] In some embodiments, the implementation of the selection operation instruction may include multiple methods. For a single drawing object, the user can implement the selection operation through touch actions such as single-clicking, double-clicking, and long pressing. For multiple drawing objects, the user can implement the selection operation through sliding touch actions such as line selection, circle selection, and rectangular diagonal selection.

[0095] In some embodiments, the display device 200 can perform a selection operation on the selected target drawing object based on a stroke method, stroking the target drawing object to display a selection effect. The display device 200 can obtain the color value and thickness of the target drawing object, set a fill color based on the color value of the target drawing object, and set a drawing thickness based on the thickness of the target drawing object. The fill color can be a color value whose color difference from the color value of the target drawing object is greater than or equal to a color difference threshold, and the drawing thickness can be greater than the thickness of the target drawing object. An outline graphic can be drawn based on the drawing thickness, and the outline graphic can be filled with the fill color. Finally, the target drawing object can be drawn on the outline graphic.

[0096] In other words, you can first draw the target drawing object using a brush that is thicker than the target drawing object and a different color to form an outline graphic. Then, you can draw the target drawing object. Because the outline graphic is the result of thickening the target drawing object, it is thicker and has a different color than the target drawing object, and thus will cover the target drawing object. By redrawing the target drawing object over the outline graphic, the edges of the outline graphic will be visible, effectively highlighting the target drawing object.

[0097] For example, as shown in Figure 12, when selecting drawing object D in Figure 11, a brush thicker than drawing object D and with a different color than drawing object D can be used to draw drawing object D (the brush color is not shown in Figure 12) at the location of drawing object D as an outline graphic. Because drawing object D is located at the same location as drawing object D and is thicker than drawing object D, drawing object D can cover drawing object D. Then, a brush with the same thickness and color as drawing object D is used to draw drawing object D at the location of drawing object D. Because drawing object D is thicker than drawing object D, it is not completely covered, thus achieving a stroke effect for drawing object D.

[0098] The above stroke method clearly identifies the selected target drawing object and preserves the target drawing object's color for non-transparent drawing objects. However, for transparent drawing objects, using this stroke method can cause the colors of the target drawing object and the outline graphic to overlap due to the transparency, thus changing the target drawing object's color and affecting the user experience.

[0099] For example, as shown in Figure 13, when drawing object E in Figure 11 is selected, drawing object E has transparency. At the location of drawing object E, a brush thicker than drawing object E and of a different color is used to draw drawing object E as its outline. Then, at the location of drawing object E, a brush of the same thickness and color as drawing object E is used to draw drawing object E, creating a stroke effect for drawing object E as shown in Figure 13. When drawing object E with this stroke effect is superimposed on drawing object E, due to its transparency, the color of drawing object E changes after the superposition.

[0100] To change the color of a transparent drawing object when it is selected, display device 200 can perform a selection operation on the target drawing object based on image blending modes (Xfermodes) combined with a stroke method. Xfermodes is a base class in the graphics rendering pipeline of display device 200. During the drawing process, it allows pixels of the already drawn target graphic (DST) to be blended with pixels of the currently drawn new graphic (SRC) according to certain rules to form new pixels, thereby achieving different image combination effects.

[0101] The main implementation class of Xfermode is PorterDuffXfermode, which can include a variety of predefined blending modes, such as source mode (PorterDuff.Mode.SRC), clear mode (PorterDuff.Mode.CLEAR), etc. Different blending modes can determine how pixels are blended through the corresponding PorterDuff.Mode algorithm. Xfermode can be used in conjunction with the Paint object. The Paint object is an abstract representation of a brush in graphics drawing. It can be used to define how to draw graphics, including color, style, thickness, etc. By setting a PorterDuffXfermode for the Paint object, you can control the blending method of the new graphics currently being drawn (SRC) and the already drawn destination graphics (DST).

[0102] In some embodiments of the present application, the image blending mode of source mode or clear mode can be used to select the target drawing object. As shown in Figure 14, the source mode can be used to replace the pixels displayed in the drawing area. In source mode, the new graphic (SRC) currently being drawn in the drawing area will replace the pixels of the target graphic (DST) that has been drawn, that is, only the graphics drawn in the upper layer are displayed during image blending. As shown in Figure 15, the clear mode can be used to clear the pixels displayed in the drawing area. In clear mode, the pixels of the overlapping area of ​​the new graphic (SRC) currently being drawn in the drawing area and the drawn target graphic (DST) will be cleared, making the overlapping area transparent.

[0103] Based on this, when the display device 200 performs a selection operation on a target drawing object, it can first draw an outline graphic at the location of the target drawing object. A clear mode can then be set. In clear mode, the target drawing object can be drawn over the outline graphic to clear the pixels displayed in the overlapping area between the target drawing object and the outline graphic. Finally, the target drawing object can be drawn again over the outline graphic to achieve the selected effect.

[0104] For example, as shown in Figure 16, a selection operation is performed on drawing object B in Figure 11. At the location of drawing object B, a brush thicker than drawing object B and of a different color can be used to draw drawing object B as an outline. Then, using the brush's clear mode, drawing object B at the location of drawing object B using a brush of the same thickness as drawing object B, making the overlapping area of ​​drawing object B transparent. Finally, drawing object B can be drawn at the location of drawing object B using a brush of the same thickness and color as drawing object B, thereby achieving the selection effect of drawing object B.

[0105] When selecting a target drawing object, the display device 200 may first draw an outline graphic at the target drawing object's location. Then, the display device 200 may set a source image mode. In source image mode, the target drawing object is drawn over the outline graphic, replacing pixels displayed in the overlapping area between the target drawing object and the outline graphic with pixels of the target drawing object. The edges of the outline graphic and the target drawing object are then displayed, thereby achieving the effect of selecting the target drawing object.

[0106] For example, as shown in Figure 17, a selection operation is performed on drawing object B in Figure 11. At the location of drawing object B, a brush thicker than drawing object B and of a different color can be used to draw drawing object B as an outline graphic. Then, using the brush's source image mode, drawing object B can be drawn at the location of drawing object B using a brush of the same thickness and color as drawing object B. This replaces the pixels displayed in the overlapping area of ​​drawing object B with the pixels of drawing object B. This now displays the edge of drawing object B and drawing object B, thus achieving the effect of selecting drawing object B.

[0107] Based on the above implementation, as shown in Figures 16 and 17, although the color value of painting object B is retained after stroking painting object B, the area where painting object B overlaps with painting object A is also cleared, causing painting object B to lose the color overlay effect with the area where painting object A overlaps.

[0108] Obviously, both of the above two implementations will clear the area where the target painting object and other painting objects overlap, causing the color overlapping effect of the overlapping area to disappear.

[0109] In some embodiments, display device 200 can also implement a drawing object selection method to address the issue of color overlay effects disappearing when a transparent drawing object is selected. After displaying the whiteboard interface, display device 200 can receive various touch commands input by the user. When the received touch command is a selection operation command, the display device 200 can respond to the selection operation command by creating a transparent selection layer above the display layer where the drawing object resides. The display device 200 can then detect the target drawing object indicated in the selection operation command, draw a hollowed-out outline graphic based on the target drawing object, and finally control the display 260 to display the hollowed-out outline graphic in the transparent selection layer.

[0110] Figure 18 shows a schematic diagram of the hierarchical structure of the display layer and transparent selection layer where a painting object resides, according to some embodiments of the present application. The display level of the transparent selection layer can be higher than the display level of the display layer where the painting object resides. Figures 19 and 20 show schematic diagrams of hollowed-out contour images, according to some embodiments of the present application. The hollowed-out contour image can be the non-overlapping area formed by overlapping the target painting object and the contour graphic. When the hollowed-out contour graphic is displayed in the transparent selection layer, the target painting object in the display layer can be displayed through the hollowed-out contour graphic in the transparent selection layer, preserving the selected color effect of the target painting object and the color overlay effect with other painting objects, thereby achieving the selected effect of the target painting object.

[0111] In some embodiments, when drawing a hollow outline graphic according to the target painting object, the display device 200 can draw the outline graphic according to the target painting object, then superimpose the outline graphic and the target painting object, and finally, based on the clear mode or the source image mode, clear the overlapping area between the superimposed outline graphic and the target painting object to obtain the hollow outline graphic.

[0112] The display device 200 can be set to a clear mode. In the clear mode, the target drawing object is redrawn on the outline graphic to clear the pixels displayed in the overlapping area of ​​the outline graphic and the target drawing object, thereby clearing the overlapping area of ​​the outline graphic and the target drawing object and retaining the hollowed-out outline graphic.

[0113] The display device 200 can also be set to a source image mode. In the source image mode, the drawing color can be set to a transparent color, and the target drawing object can be redrawn on the outline graphic using the transparent color to replace the pixels displayed in the overlapping area of ​​the outline graphic and the target drawing object with transparent pixels, so that when the images are mixed, only the graphics drawn on the upper layer are displayed, that is, the target drawing object with a transparent color and the edge of the outline graphic are displayed, thereby forming a hollow outline graphic.

[0114] For example, as shown in Figure 19 , a selection operation is performed on drawing object B. Display device 200 can use a brush thicker than drawing object B and a different color to draw drawing object B at the location of drawing object B on the transparent selection layer. Then, using the brush's clearing mode, draw drawing object B at the location of drawing object B using a brush of the same thickness as drawing object B, clearing the pixels in the overlapping area between drawing object B and drawing object B. When the transparent selection layer is superimposed on the display layer, the interface display effect shown in Figure 21 is presented.

[0115] For another example, as shown in Figure 20 , when drawing object B is selected, the display device 200 can draw drawing object B at the location of drawing object B on the transparent selection layer using a brush thicker than drawing object B and a different color than drawing object B. The display device 200 can then use the brush's source image mode to draw drawing object B at the location of drawing object B using a brush of the same thickness and transparent color as drawing object B. This replaces the pixels displayed in the overlapping area of ​​drawing object B with those of drawing object B, thereby displaying the edge of drawing object B and the transparent color of drawing object B. When the transparent selection layer is superimposed on the display layer, the interface display effect shown in Figure 21 is presented.

[0116] In this embodiment, the drawing object selection method may include a layered method and a hollow outline method. The layered method involves adding a transparent selection layer above the display layer where the drawing object resides. Within this transparent selection layer, an outline graphic and the target drawing object are drawn using a stroke method, preserving the color overlay effect of the target drawing object with other drawing objects after it is selected. The hollow outline method involves using clear mode or source image mode when drawing the outline graphic within the transparent selection layer to clear the overlapping area between the target drawing object and the outline graphic within the transparent selection layer. This ensures that the transparency of the target drawing object does not overlap between the transparent selection layer and the display layer, and that the target drawing object and the outline graphic within the transparent selection layer do not overlap, preserving the color effect of the target drawing object after it is selected.

[0117] In some embodiments, the display device 200 can also perform a deselection operation on the target painting object. When performing the deselection operation on the target painting object, the display device 200 can clear the transparent selection layer and remove the hollow outline graphic corresponding to the target painting object in the transparent selection layer, thereby deselecting the target painting object.

[0118] In some embodiments, to more clearly display the target drawing object selected by the user, the display position of the target drawing object can be adjusted to the top layer. When performing a selection operation on the target drawing object, the display device 200 can detect the display level of the target display layer where the target drawing object is located. If the display level of the target display layer is not the top layer, the display level of the target display layer can be set to the top layer. The display device 200 can also detect the stacking level of the drawing objects in the target display layer. If the stacking level of the target drawing object is not the top layer, the stacking level of the target drawing object can be set to the top layer.

[0119] That is, if the drawing objects are in different display layers, the display device 200 can adjust the display layer where the target drawing object is located to the top layer. If the drawing objects are in the same display layer, the stacking level of the target drawing object can be adjusted to the top layer.

[0120] In some embodiments, because the stacking order of target drawing objects is determined by the drawing order, when setting the stacking level of the target drawing object to the top, the display device 200 may first clear the target display layer, then redraw non-target drawing objects in the target display layer, and finally redraw the target drawing object in the target display layer. Non-target drawing objects are drawing objects other than the target drawing object in the target display layer before the target display layer is cleared.

[0121] The display device 200 may also directly remove the target drawing object from the target display layer and add the target drawing object to the target display layer, thereby setting the stacking level of the target drawing object to the top layer.

[0122] When performing an unselect operation on a target drawing object, the display device 200 may first clear the target display layer, and then draw the drawing objects in sequence according to the original stacking order, that is, the stacking order of the drawing objects in the target display layer before the selection operation is performed, thereby restoring the stacking order before the target drawing object is unselected.

[0123] Based on the above-mentioned drawing object selection method, in some embodiments of the present application, each component in the display device can implement the following functions:

[0124] The display may be configured to display a user interface; the display may be connected to a touch interaction module, and the touch interaction module may be configured to receive a touch instruction input by a user; the user interface may include at least one drawing object added in response to the touch instruction;

[0125] a memory that may be configured to store a computer program;

[0126] At least one processor is connected to the display and the memory and can be configured to execute the computer program to cause the display device to perform the following operations: creating a transparent selection layer in response to a selection operation instruction input by a user; wherein the display level of the transparent selection layer is higher than the display level of the display layer where the painting object is located; detecting a target painting object indicated in the selection operation instruction; drawing a hollow outline graphic based on the target painting object; wherein the hollow outline graphic is a non-overlapping area formed by superimposing the target painting object and the outline graphic, and the outline graphic is a graphic formed by bolding the target painting object; and controlling the display to display the hollow outline graphic in the transparent selection layer so that the target painting object is displayed through the hollow outline graphic.

[0127] In some embodiments, the at least one processor executes drawing a hollow outline graphic according to the target painting object, and may be further configured to execute the computer program to cause the display device to perform the following: drawing the outline graphic according to the target painting object; superimposing the outline graphic and the target painting object; and clearing the overlapping area between the outline graphic and the target painting object after superposition to obtain a hollow outline graphic.

[0128] In some embodiments, the at least one processor executing drawing the contour graphic according to the target painting object may be further configured to execute the computer program to cause the display device to: detect the color value of the target painting object; set a fill color according to the color value of the target painting object, wherein the fill color may be a color value whose color difference from the color value of the target painting object is greater than or equal to a color difference threshold; and fill the contour graphic with the fill color.

[0129] In some embodiments, the at least one processor executes drawing the outline graphic according to the target painting object, and may be further configured to execute the computer program to cause the display device to perform: obtaining the thickness of the target painting object; setting the drawing thickness according to the thickness of the target painting object, the drawing thickness may be greater than the thickness of the target painting object; and drawing the outline graphic based on the drawing thickness.

[0130] In some embodiments, the at least one processor performs clearing of the overlapping area between the outline graphic and the target painting object after superposition, and may be further configured to execute the computer program to cause the display device to perform: a clearing mode may be set, and the clearing mode may be used to clear the pixels displayed in the drawing area; in the clearing mode, the target painting object may be redrawn on the outline graphic to clear the pixels displayed in the overlapping area between the outline graphic and the target painting object.

[0131] In some embodiments, the at least one processor performs clearing of the intersection area of ​​the outline graphic and the target painting object after overlay, and can be further configured to execute the computer program to cause the display device to perform: a source image mode can be set, and the source image mode can be used to replace the pixels displayed in the drawing area; in the source image mode, the drawing color can be set to a transparent color; the target painting object can be redrawn on the outline graphic using the transparent color to replace the pixels displayed in the overlapping area of ​​the outline graphic and the target painting object with transparent pixels.

[0132] In some embodiments, the at least one processor may be further configured to execute the computer program to cause the display device to perform: detecting the display level of the target display layer where the target painting object is located; if the display level of the target display layer is not the top layer, setting the display level of the target display layer to the top layer.

[0133] In some embodiments, the at least one processor may be further configured to execute the computer program to cause the display device to perform: detecting the stacking level of the painting object in the target display layer; and setting the stacking level of the target painting object to the top layer if the stacking level of the target painting object is not the top layer.

[0134] In some embodiments, the at least one processor executes setting the stacking level of the target painting object to the top layer, and can also be configured to execute the computer program to enable the display device to execute: clearing the target display layer; redrawing non-target painting objects in the target display layer, and the non-target painting objects can be painting objects other than the target painting object in the target display layer before clearing the target display layer; and redrawing the target painting object in the target display layer.

[0135] As can be seen from the above scheme, the display device and drawing object selection method provided in the above embodiments can create a transparent selection layer in response to a selection operation command input by a user, then detect the target drawing object indicated in the selection operation command, and draw a hollowed-out outline graphic based on the target drawing object. The display level of the transparent selection layer can be higher than the display level of the display layer containing the drawing object. The hollowed-out outline graphic can be the non-overlapping area formed by superimposing the target drawing object and the outline graphic, and the outline graphic can be the image formed by bolding the target drawing object. Finally, the display can be controlled to display the hollowed-out outline graphic in the transparent selection layer so that the target drawing object is visible through the hollowed-out outline graphic. The display device can use a layering method and a hollowed-out outline method to add a transparent selection layer above the display layer containing the drawing object. The outline graphic and the target drawing object are drawn in the transparent selection layer using a stroke method. The overlapping area between the target drawing object and the outline graphic can be cleared to preserve the color effect of the target drawing object after it is selected.

[0136] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the solution in the embodiments of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application or certain parts of the embodiments.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding solutions from the scope of the embodiments of the present application.

[0138] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the discussion of the above embodiments is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better utilize the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A display device, comprising: a display configured to display a user interface, the display being connected to a touch interaction module, the touch interaction module being configured to receive a touch instruction input by a user, the user interface including at least one drawing object added in response to the touch instruction; a memory configured to store a computer program; At least one processor, connected to the display and the memory, is configured to execute the computer program to cause the display device to perform: In response to a selection operation instruction input by a user, creating a transparent selection layer, wherein the display level of the transparent selection layer is higher than the display level of the display layer where the drawing object is located; detecting a target drawing object indicated in the selection operation instruction; Drawing a hollowed-out outline graphic according to the target painting object, wherein the hollowed-out outline graphic is a non-overlapping area formed by superimposing the target painting object and the outline graphic, and the outline graphic is a graphic formed by bolding the target painting object; The display is controlled to display the hollow outline graphic in the transparent selection layer, so that the target painting object is displayed through the hollow outline graphic.

2. The display device according to claim 1, wherein the at least one processor is further configured to execute the computer program to cause the display device to execute: Drawing the outline graphic according to the target drawing object; superimposing the outline graphic and the target drawing object; The overlapping area between the outline graphic and the target painting object after superposition is cleared to obtain a hollow outline graphic.

3. The display device according to claim 2, wherein the at least one processor executes drawing the outline graphic according to the target drawing object, and is further configured to execute the computer program to cause the display device to execute: Detecting the color value of the target painting object; Setting a fill color according to the color value of the target drawing object, wherein the fill color is a color value whose color difference with the color value of the target drawing object is greater than or equal to a color difference threshold; Fill the outline shape with the fill color.

4. The display device according to claim 2, wherein the at least one processor is further configured to execute the computer program to cause the display device to execute: Obtaining the thickness of the target drawing object; Setting a drawing thickness according to the thickness of the target drawing object, wherein the drawing thickness is greater than the thickness of the target drawing object; The outline graphic is drawn based on the drawing thickness.

5. The display device according to claim 2 , wherein the at least one processor is further configured to execute the computer program to cause the display device to execute: Set the clearing mode, which is used to clear the pixels displayed in the drawing area; In the clearing mode, the target drawing object is redrawn on the outline graphic to clear the pixels displayed in the overlapping area between the outline graphic and the target drawing object.

6. The display device according to claim 2, wherein the at least one processor is further configured to execute the computer program to cause the display device to execute: Set the source image mode, which is used to replace the pixels displayed in the drawing area; In source image mode, set the drawing color to transparent; The target drawing object is redrawn on the outline graphic using the transparent color, so as to replace pixels displayed in an overlapping area between the outline graphic and the target drawing object with transparent pixels.

7. The display device according to claim 1 , wherein the at least one processor is further configured to execute the computer program to cause the display device to: Detecting the display level of the target display layer where the target painting object is located; If the display level of the target display layer is not the top layer, the display level of the target display layer is set to the top layer.

8. The display device according to claim 7, wherein the at least one processor is further configured to execute the computer program to cause the display device to: Detecting the stacking level of the drawing objects in the target display layer; If the stacking level of the target drawing object is not the top level, the stacking level of the target drawing object is set to the top level.

9. The display device according to claim 8, wherein the at least one processor is further configured to execute the computer program to cause the display device to execute: Clear the target display layer; redrawing non-target drawing objects in the target display layer, wherein the non-target drawing objects are drawing objects other than the target drawing object in the target display layer before clearing the target display layer; The target drawing object is redrawn in the target display layer.

10. A method for selecting a drawing object for a display device, comprising: In response to a selection operation instruction input by a user, creating a transparent selection layer, wherein the display level of the transparent selection layer is higher than the display level of the display layer where the drawing object is located; detecting a target drawing object indicated in the selection operation instruction; Drawing a hollowed-out outline graphic according to the target painting object, wherein the hollowed-out outline graphic is a non-overlapping area formed by superimposing the target painting object and the outline graphic, and the outline graphic is a graphic formed by bolding the target painting object; The display of the display device is controlled to display the hollow outline graphic in the transparent selection layer, so that the target painting object is displayed through the hollow outline graphic.