feComposite element | SVGFECompositeElement object
Combines two input images pixel-wise in image space using alpha channel (Porter-Duff) compositing operations. Operations include over, in, out, atop, xor, and arithmetic compositing. For this filter primitive, the extent of the resulting image can grow, even if the two images overlap.
![]() ![]() |
Syntax
<feComposite in="SourceGraphic" in2="BackgroundImage" operator="atop" result="comp"/>
DOM Information
Inheritance Hierarchy
Members
The SVGFECompositeElement object has these types of members:
Properties
The SVGFECompositeElement object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Gets or sets the height of an element. | ||
| Read-only |
Identifies input for the given filter primitive. | |
| Read-only |
The second input image to the blending operation. | |
| Read-only |
A constant used for arithmetic composite operations. | |
| Read-only |
A constant used for arithmetic composite operations. | |
| Read-only |
A constant used for arithmetic composite operations. | |
| Read-only |
A constant used for arithmetic composite operations. | |
| Read-only |
Provides a reference for the output result of a filter. | |
|
Defines the width of an element. | ||
|
Gets or sets the x-coordinate value. | ||
|
Gets or sets the y-coordinate value. |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.11
See also

