目录
当前位置: 首页 > 文档资料 > Snap.svg 英文文档 >

Snap.filter.blur(x, [y])

优质
小牛编辑
128浏览
2023-12-01

Returns an SVG markup string for the blur filter

Parameters

  1. xnumberamount of horizontal blur, in pixels
  2. ynumberamount of vertical blur, in pixels

Returns: string filter representation

Usage

var f = paper.filter(Snap.filter.blur(5, 10)),
c = paper.circle(10, 10, 10).attr({
filter: f
});