Drawing a rectangle using click, mouse move, and click

前端 未结 4 523
滥情空心
滥情空心 2020-11-30 08:59

I\'m trying to draw a rectangle by a user click, mouse move, and click. There are two problems with my code.

Firstly, after one rectangle is drawn it is automaticall

4条回答
  •  离开以前
    2020-11-30 09:31

    i was also working on a project, so here's my code enjoy.

    
    
    
        
        
        Selection
        
        
    
    
        
        

提交回复
热议问题