in2
SVG Elements
- A
- B-C
- D
- E
- F
<feBlend>
<feColorMatrix>
<feComponentTransfer>
<feComposite>
<feConvolveMatrix>
<feDiffuseLighting>
<feDisplacementMap>
<feDistantLight>
<feFlood>
<feFuncA>
<feFuncB>
<feFuncG>
<feFuncR>
<feGaussianBlur>
<feImage>
<feMerge>
<feMergeNode>
<feMorphology>
<feOffset>
<fePointLight>
<feSpecularLighting>
<feSpotLight>
<feTile>
<feTurbulence>
<filter>
<font>
<font-face>
<font-face-format>
<font-face-name>
<font-face-src>
<font-face-uri>
<foreignObject>
- G
- H
- I
- J-L
- M
- N-P
- Q-R
- S
- T
- U
- V-Z
The in2
attribute identifies the second input for the given filter primitive. It works exactly like the in
attribute.
You can use this attribute with the following SVG elements:
feBlend
For <feBlend>
, in2
defines the second input image to the blending operation.
Value |
SourceGraphic | SourceAlpha |
BackgroundImage | BackgroundAlpha |
FillPaint | StrokePaint |
<filter-primitive-reference>
|
---|---|
Default value |
SourceGraphic for first filter primitive, otherwise result
of previous filter primitive
|
Animatable | Yes |
feComposite
For <feComposite>
, in2
defines the second input image to the compositing operation.
Value |
SourceGraphic | SourceAlpha |
BackgroundImage | BackgroundAlpha |
FillPaint | StrokePaint |
<filter-primitive-reference>
|
---|---|
Default value |
SourceGraphic for first filter primitive, otherwise result
of previous filter primitive
|
Animatable | Yes |
feDisplacementMap
For <feDisplacementMap>
, in2
defines the second input image, which is used to displace the pixels in the image defined in the in
attribute.
Value |
SourceGraphic | SourceAlpha |
BackgroundImage | BackgroundAlpha |
FillPaint | StrokePaint |
<filter-primitive-reference>
|
---|---|
Default value |
SourceGraphic for first filter primitive, otherwise result
of previous filter primitive
|
Animatable | Yes |
Specifications
Specification | Status | Comment |
---|---|---|
Filter Effects Module Level 1 The definition of 'in2 for <feDisplacementMap>' in that specification. |
Working Draft | No change |
Filter Effects Module Level 1 The definition of 'in2 for <feComposite>' in that specification. |
Working Draft | No change |
Filter Effects Module Level 1 The definition of 'in2 for <feBlend>' in that specification. |
Working Draft | No change |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'in2 for <feDisplacementMap>' in that specification. |
Recommendation | Initial definition for <feDisplacementMap> |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'in2 for <feComposite>' in that specification. |
Recommendation | Initial definition for <feComposite> |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'in2 for <feBlend>' in that specification. |
Recommendation | Initial definition for <feBlend> |