BlendMode
IPDFDocument4 :: Types used in IPDFDocument4

See Also
Collapse All

This type specifies available blend modes.

Syntax

enum BlendMode

Remarks

PDF Creator Pilot supports the following blend modes:

Name

Description

Value

bmNormal Selects the source color, ignoring the backdrop.

0

bmMultiply Multiplies the backdrop and source color values.

1

bmScreen 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. Screening any color with white produces white; screening with black leaves the original color unchanged. The effect is similar to projecting multiple photographic slides simultaneously onto a single screen.

2

bmOverlay 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.

3

bmDarken 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.

4

bmLighten 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.

5

bmColorDodge Brightens the backdrop color to reflect the source color. Painting with black produces no changes.

6

bmColorBurn Darkens the backdrop color to reflect the source color. Painting with white produces no change.

7

bmHardLight Multiplies or screens the colors, depending on the source color value. The effect is similar to shining a harsh spotlight on the backdrop.

8

bmSoftLight Darkens or lightens the colors, depending on the source color value. The effect is similar to shining a diffused spotlight on the backdrop.

9

bmDifference 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.

10

bmExclusion Produces an effect similar to that of the bmDifference mode but lower in contrast. Painting with white inverts the backdrop color; painting with black produces no change.

11

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

12

bmSaturation 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.

13

bmColor 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.

14

bmLuminosity 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 bmColor mode.

15

See Also

Reference