Event response method and device and computer readable storage medium
The embodiment of the invention discloses an event response method and device and a computer readable storage medium, and the method comprises the steps: responding to a cursor instruction of a cursor acting on a first layer of canvas, and obtaining a first position of a preset reference point of a...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses an event response method and device and a computer readable storage medium, and the method comprises the steps: responding to a cursor instruction of a cursor acting on a first layer of canvas, and obtaining a first position of a preset reference point of a second layer of canvas and a second position of the cursor under a preset reference coordinate system; the second layer of canvas covers the first layer of canvas; the size and the object number of the second layer of canvas are the same as those of the first layer of canvas; the transparency of the second layer of canvas is zero; determining an offset position based on the first position and the second position; the offset position is the position of the cursor on the second layer of canvas; determining a color array of the offset position according to the offset position; the color array represents the filling color of the offset position on the second layer of canvas; determining a target object in the second la |
---|