Click or drag to resize
Pdftools logo

BlendMode Enumeration


Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
Syntax
C#
public enum BlendMode
Members
Member nameValueDescription
Normal0

Selects the source color, ignoring the backdrop.

Multiply1

Multiplies the backdrop and source color values

The result color is always at least as dark as either of the two constituent colors.

When working with additive colors, multiplying any color with black produces black while multiplying with white leaves the original color unchanged.

For subtractive colors, the maximum tint value used for all colorants of the color space acts as black does for additive spaces.

Painting successive overlapping objects with a color other than black or white produces progressively darker colors.

Screen2

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

The result color is always at least as light as either of the two constituent colors.

When working with additive colors, screening any color with white produces white while screening with black leaves the original color unchanged.

For subtractive colors, the maximum tint value of all colorants of the color space acts as black does for additive spaces.

The effect is similar to projecting multiple photographic slides simultaneously onto a single screen.

Overlay3

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

Source colors overlay the backdrop while preserving its highlights and shadows. The backdrop color is not replaced but is mixed with the source color to reflect the lightness or darkness of the backdrop.
Darken4

Selects the darker of the backdrop and source colors.

The backdrop is replaced with the source where the source is darker; otherwise, it is left unchanged.
Lighten5

Selects the lighter of the backdrop and source colors.

The backdrop is replaced with the source where the source is lighter; otherwise, it is left unchanged.
ColorDodge6

Brightens the backdrop color to reflect the source color.

Painting with black produces no change.
ColorBurn7

Darkens the backdrop color to reflect the source color.

Painting with white produces no change.
HardLight8

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

The effect is similar to shining a harsh spotlight on the backdrop.
SoftLight9

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

The effect is similar to shining a diffused spotlight on the backdrop.
Difference10

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

Painting with white inverts the backdrop color; painting with black produces no change.

For subtractive colors, the maximum tint value for all colourants of the color space acts as black does for additive spaces.

This blend mode is not white-preserving.

Exclusion11

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

Painting with white inverts the backdrop color; painting with black produces no change.

For subtractive colors, the maximum tint value for all colourants of the color space acts as black does for additive spaces.

Hue12

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

This blend mode is not separable.
Saturation13

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

Painting with this mode in an area of the backdrop that is a pure gray (no saturation) produces no change.

This blend mode is not separable.

Color14

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

This preserves the gray levels of the backdrop and is useful for coloring monochrome images or tinting color images.

This blend mode is not separable.

Luminosity15

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

This produces an inverse effect to that of the Color mode.

This blend mode is not separable.

See Also