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.

Scalable Vector Graphics: Filter Effects, Section 15.25.11Internet Explorer 10

Syntax


<feComposite in="SourceGraphic" in2="BackgroundImage" operator="atop" result="comp"/> 

DOM Information

Inheritance Hierarchy

 Node
  Element
   SVGElement
     SVGFECompositeElement

Members

The SVGFECompositeElement object has these types of members:

Properties

The SVGFECompositeElement object has these properties.

PropertyDescription

height

Gets or sets the height of an element.

in1

Identifies input for the given filter primitive.

in2

The second input image to the blending operation.

k1

A constant used for arithmetic composite operations.

k2

A constant used for arithmetic composite operations.

k3

A constant used for arithmetic composite operations.

k4

A constant used for arithmetic composite operations.

result

Provides a reference for the output result of a filter.

width

Defines the width of an element.

x

Gets or sets the x-coordinate value.

y

Gets or sets the y-coordinate value.

 

Standards information

See also

k4
k3
k2
k1

 

 

Show:
© 2014 Microsoft