feBlendModeAttribute: mode

Description Available Attribute Values feBlend Mode Details Used by the Elements

Description

Governs which algorithm to used for blending of the two image sources.

Available Attribute Values

The value can be any one of the following:

'normal'

Specifies the normal blending mode See below.

'multiply'

Specifies the multiply blending mode See below.

'screen'

Specifies the screen blending mode See below.

'darken'

Specifies the darken blending mode See below.

'lighten'

Specifies the lighten blending mode See below.

feBlend Mode Details

feBlend Modes are defned as follows

normal mode (no blending)

α_{out} = 1 - (1- α_{in1}) (1- α_{in2})

α_{out} \times C_{out} =(1-α_{in2}) α_{in1} C_{in1} + α_{in1} C_{in1}

multiply blend mode

α_{out} = 1 - (1- α_{in1}) \times (1- α_{in2)}

α_{out} \times C_{out} = (1-α_{in2}) α_{in1} C_{in1} + (1-α_{in1}) α_{in2} C_{in2} + α_{in1} α_{in2} C_{in1} C_{in2}

screen blend mode

α_{out} = 1 - (1- α_{in1}) \times (1- α_{in2)}

α_{out} \times C_{out} = α_{in1} C_{in1} + α_{in2} C_{in2} + α_{in1} α_{in2} C_{in1} C_{in2}

darken blend mode

α_{out} = 1 - (1- α_{in1}) \times (1- α_{in2)}

α_{out} \times C_{out} = min( (1-α_{in1}) α_{in2} C_{in2} + α_{in1}C_{in1}, (1-α_{in2}) α_{in1} C_{in1} + α_{in2}C_{in2} )

lighten blend mode

α_{out} = 1 - (1- α_{in1}) \times (1- α_{in2)}

α_{out} \times C_{out} = max((1-α_{in1}) \times α_{in2} C_{in2} + α_{in1}C_{in1},(1-α_{in2}) \times α_{in1} C_{in1} + α_{in2}C_{in2})

#'

Used by the Elements

Filter Primitive Elements

feBlend


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.