The blending function for transparent rendering mode.
Namespace:
ExpertPdf.HtmlToPdf.PdfDocument
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax Public Enumeration Blending
Members
| Member name | Value | Description |
---|
| Normal | 0 |
Selects the source color, ignoring the backdrop.
|
| Multiply | 1 |
Multiplies the backdrop and source color values.
|
| Screen | 2 |
Multiplies the complements of the backdrop and source color values, then complements the result.
|
| Overlay | 3 |
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
|
| Darken | 4 |
Selects the darker of the backdrop and source colors.
|
| Lighten | 5 |
Selects the lighter of the backdrop and source colors.
|
| ColorDodge | 6 |
Brightens the backdrop color to reflect the source color. Painting with black produces no changes.
|
| ColorBurn | 7 |
Darkens the backdrop color to reflect the source color. Painting with white produces no change.
|
| HardLight | 8 |
Multiplies or screens the colors, depending on the source color value.
The effect is similar to shining a harsh spotlight on the backdrop.
|
| SoftLight | 9 |
Darkens or lightens the colors, depending on the source color value.
The effect is similar to shining a diffused spotlight on the backdrop.
|
| 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.
Painting with white inverts the backdrop color; painting with black produces no change.
|
| Hue | 12 |
Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.
|
| Saturation | 13 |
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.
|
| Color | 14 |
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.
|
| Luminosity | 15 |
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.
|
See Also