How to anti-alias clip() edges in html5 canvas under Chrome Windows?

后端 未结 5 1736
故里飘歌
故里飘歌 2020-12-02 20:20

I\'m using the clip() function on a canvas.

Results: \"using

As you c

5条回答
  •  悲&欢浪女
    2020-12-02 21:04

    My fix for this is to draw a thin (2px) white stroke at the same radius after drawing the image. It covers up the aliasing nicely and looks fine across browsers.

提交回复
热议问题