'Declaration Public Enum BlendingMode Inherits System.Enum
public enum BlendingMode : System.Enum
__value public enum BlendingMode : public System.Enum
public enum class BlendingMode : public System.Enum
'Declaration Public Enum BlendingMode Inherits System.Enum
public enum BlendingMode : System.Enum
__value public enum BlendingMode : public System.Enum
public enum class BlendingMode : public System.Enum
Member | Description |
---|---|
Normal | Selects the source color, ignoring the backdrop. |
Multiply | Multiplies the backdrop and source color values. |
Screen | Multiplies the complements of the backdrop and source color values, then complements the result. |
Overlay | 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 | Selects the darker of the backdrop and source colors. |
Lighten | Selects the lighter of the backdrop and source colors. |
ColorDodge | Brightens the backdrop color to reflect the source color. Painting with black produces no changes. |
ColorBurn | Darkens the backdrop color to reflect the source color. Painting with white produces no change. |
HardLight | Multiplies or screens the colors, depending on the source color value. The effect is similar to shining a harsh spotlight on the backdrop. |
SoftLight | Darkens or lightens the colors, depending on the source color value. The effect is similar to shining a diffused spotlight on the backdrop |
Difference | Subtracts the darker of the two constituent colors from the lighter color. |
Exclusion | 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 | Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color. |
Saturation | 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 | 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 | 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. |
Brightness | Selects the brightness of the backdrop and source colors. |
Contrast | Selects the contrast of the backdrop and source colors. |
Gamma | Selects the gamma of the backdrop and source colors. |
Min | Selects the min of the backdrop and source colors. |
Max | Selects the max of the backdrop and source colors. |
Sum | Sum of the backdrop and source colors. |
Sub | Sub of the backdrop and source colors. |
Division | Divides the backdrop and source color values. |
This C#/VB.NET code shows how to load an image from disk, blend the colors in the specified region of the image and save the result to a new image file.
System.Object
 System.ValueType
   System.Enum
     Vintasoft.Imaging.BlendingMode
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
Vintasoft.Imaging Namespace
BlendPath(DrawingSurface,GraphicsPathColorBlending[])
BlendingMode