[]
        
(Showing Draft Content)

BlendMode

DsPdfJS API v9.1.0


DsPdfJS API / BlendMode

Enumeration: BlendMode

Defines methods of mixing source and destination colors when drawing.

Enumeration Members

Color

Color: 14

Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.


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.


Hue

Hue: 12

Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.


Lighten

Lighten: 5

Selects the lighter of the backdrop and source colors.


Luminosity

Luminosity: 15

Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.


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.


Saturation

Saturation: 13

Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.


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.