Gaussian blur cutoff at edges

后端 未结 1 993
萌比男神i
萌比男神i 2021-02-05 02:08

I am working on an svg export utility for a drawing program on android. I am having a problem that the behind blur is cutoff past the shape boundaries - looks like i need to res

1条回答
  •  暖寄归人
    2021-02-05 02:43

    The filter canvas has default values : x=y=-10% and width=height=120%. You can change them with the x, y, width and height attributes on the filter element.

    Try to set a bigger canvas :

    
    

    Yet, since the canvas is bigger, there will be performance loss.

    0 讨论(0)
提交回复
热议问题