in2 - SVG: Scalable Vector Graphics 编辑

The in2 attribute identifies the second input for the given filter primitive. It works exactly like the in attribute.

Three elements use this attribute: <feBlend><feComposite> and <feDisplacementMap>.

feBlend

For <feBlend>, in2 defines the second input image to the blending operation.

ValueSourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference>
Default valueSourceGraphic for first filter primitive, otherwise result of previous filter primitive
AnimatableYes

feComposite

For <feComposite>, in2 defines the second input image to the compositing operation.

ValueSourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference>
Default valueSourceGraphic for first filter primitive, otherwise result of previous filter primitive
AnimatableYes

feDisplacementMap

For <feDisplacementMap>, in2 defines the second input image, which is used to displace the pixels in the image defined in the in attribute.

ValueSourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference>
Default valueSourceGraphic for first filter primitive, otherwise result of previous filter primitive
AnimatableYes

Specifications

SpecificationStatusComment
Filter Effects Module Level 1
The definition of 'in2 for <feDisplacementMap>' in that specification.
Working DraftNo change
Filter Effects Module Level 1
The definition of 'in2 for <feComposite>' in that specification.
Working DraftNo change
Filter Effects Module Level 1
The definition of 'in2 for <feBlend>' in that specification.
Working DraftNo change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'in2 for <feDisplacementMap>' in that specification.
RecommendationInitial definition for <feDisplacementMap>
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'in2 for <feComposite>' in that specification.
RecommendationInitial definition for <feComposite>
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'in2 for <feBlend>' in that specification.
RecommendationInitial definition for <feBlend>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:92 次

字数:5587

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文