1、Then it's time to ask for listening for various mouse events (mousedown, mouseup, and click) on the shadow tree's rectangle — you'll see how to react to these later.
2、因此,當影像樹的矩形接收到mousedown事件時,我把CSS 的fill屬*改成稍微亮一點的顏*——比如粉紅*。