[]
DsPdfJS API / PdfBlendMode
Defines methods of mixing source and destination colors when drawing.
ColorBurn:
7
Darkens the backdrop color to reflect the source color.
ColorDodge:
6
Brightens the backdrop color to reflect the source color.
Darken:
4
Selects the darker of the backdrop and source colors.
Difference:
10
Subtracts the darker of the two constituent colors from the lighter color.
Exclusion:
11
Produces an effect similar to that of the Difference mode but lower in contrast.
HardLight:
8
Multiplies or screens the colors, depending on the source color value.
Lighten:
5
Selects the lighter of the backdrop and source colors.
Multiply:
1
The source color is multiplied by the destination color and replaces the destination.
Normal:
0
No blending takes place. The source color replaces the destination color.
Overlay:
3
Multiplies or screens the colors, depending on the backdrop color value.
Screen:
2
Multiplies the complements of the backdrop and source color values, then complements the result.
SoftLight:
9
Darkens or lightens the colors, depending on the source color value.