[]
        
(Showing Draft Content)

PdfBlendMode

DsPdfJS API v9.1.0


DsPdfJS API / PdfBlendMode

Enumeration: PdfBlendMode

Defines methods of mixing source and destination colors when drawing.

Enumeration Members

ColorBurn

ColorBurn: 7

Darkens the backdrop color to reflect the source color.


ColorDodge

ColorDodge: 6

Brightens the backdrop color to reflect the source color.


Darken

Darken: 4

Selects the darker of the backdrop and source colors.


Difference

Difference: 10

Subtracts the darker of the two constituent colors from the lighter color.


Exclusion

Exclusion: 11

Produces an effect similar to that of the Difference mode but lower in contrast.


HardLight

HardLight: 8

Multiplies or screens the colors, depending on the source color value.


Lighten

Lighten: 5

Selects the lighter of the backdrop and source colors.


Multiply

Multiply: 1

The source color is multiplied by the destination color and replaces the destination.


Normal

Normal: 0

No blending takes place. The source color replaces the destination color.


Overlay

Overlay: 3

Multiplies or screens the colors, depending on the backdrop color value.


Screen

Screen: 2

Multiplies the complements of the backdrop and source color values, then complements the result.


SoftLight

SoftLight: 9

Darkens or lightens the colors, depending on the source color value.