The in2
attribute identifies the second input for the given filter primitive. It works exactly like the in
attribute.
Categories | None |
---|---|
Value |
SourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference> |
Animatable | Yes |
Normative document |
SVG 1.1 (2nd Edition) : feBlend SVG 1.1 (2nd Edition) : feComposite SVG 1.1 (2nd Edition) : feDisplacementMap |
<filter>
element.<filter>
element. SourceAlpha
has all of the same rules as SourceGraphic
except that only the alpha channel is used.<filter>
element was invoked.BackgroundImage
except only the alpha channel is used.fill
property on the target element for the filter effect. In many cases, the FillPaint
is opaque everywhere, but it might not be the case if a shape is paint with a gradient or pattern which itself includes transparent or semi-transparent parts.stroke
property on the target element for the filter effect. In many cases, the StrokePaint
is opaque everywhere, but it might not be the case if a shape is paint with a gradient or pattern which itself includes transparent or semi-transparent parts.The following elements can use the in2
attribute
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/in2