How to make a scalable custom cursor for HTML5 canvas drawing

I have an html5 canvas drawing application similar to this http://jsfiddle.net/rnNFB/1/, but using the default cursors the user is not able to tell how big the brush size is (lineWidth setting). Of the default cursors, the cross-hair cursor that has a circle is nearly perfect, I just need to be able to scale the graphic or circle portion up or down depending on the user's brush size setting to reflect how big their next brush stroke will be. Thanks.

以上就是How to make a scalable custom cursor for HTML5 canvas drawing的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏