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

« SVG属性参考主页

+ +

属性result定义了滤镜的分配名。如果提供了它,则经过滤镜处理的结果即图形可以再次滤镜处理,在后继滤镜(即另一个{{ SVGElement("filter") }}元素)上通过一个{{ SVGAttr("in") }}属性引用之前的结果。如果没有提供result值,而且如果下一个滤镜也没有提供{{ SVGAttr("in") }}属性值,则输出只可作为下一个滤镜的隐式输入。

+ +

用法

+ + + + + + + + + + + + + + + + + + + + +
类别
<filter-primitive-reference>
可变性Yes
规范文档SVG 1.1 (2nd Edition)
+ +

注意<filter-primitive-reference>不是一个XML ID,换句话说,<filter-primitive-reference>只在给定的{{ SVGElement("filter") }}元素内部有意义,因此只有局部范围。在同一个{{ SVGElement("filter") }}元素内部,同一个<filter-primitive-reference>出现多次也是合法的。如果引用了,<filter-primitive-reference>将使用在给定结果前面、离给定结果最近的滤镜。

+ +

元素

+ +

下列元素可以使用result属性:

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