From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/svg/attribute/stddeviation/index.html | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 files/zh-cn/web/svg/attribute/stddeviation/index.html (limited to 'files/zh-cn/web/svg/attribute/stddeviation') diff --git a/files/zh-cn/web/svg/attribute/stddeviation/index.html b/files/zh-cn/web/svg/attribute/stddeviation/index.html new file mode 100644 index 0000000000..4ab8e22164 --- /dev/null +++ b/files/zh-cn/web/svg/attribute/stddeviation/index.html @@ -0,0 +1,51 @@ +--- +title: stdDeviation +slug: Web/SVG/Attribute/stdDeviation +tags: + - Filters + - SVG + - SVG Attribute +translation_of: Web/SVG/Attribute/stdDeviation +--- +

« SVG 属性参考主页

+ +

stdDeviation 属性定义了模糊操作的标准差。如果列出两个 <number>,第一个数字表示沿着 x 轴的标准差值,第二个值表示沿着 y 轴的标准差值。如果只出现一个数字,那个值就表示在 x 轴和 y 轴上有着相同的标准差。

+ +

负值是不允许的。设为零即禁用了已有滤镜的原本效果(比如,结果是滤镜输入图像)。如果 stdDeviation 在 x 轴和 y 轴上只有一个为 0,那么模糊效果就只会应用于非 0 的那个方向。

+ +

如果此属性没被定义,就与标准差值被定义为 0 的效果一样。

+ +

用法

+ + + + + + + + + + + + + + + + + + + + +
类别None
<number-optional-number>
可变性Yes
规范文档SVG 1.1 (2nd Edition)
+ +

{{ page("/en-US/docs/SVG/Content_type","Number-optional-number") }}

+ +

示例

+ +

元素

+ +

以下的元素可以使用 stdDeviation 属性

+ + -- cgit v1.2.3-54-g00ecf