Enum BlendMode

Enum BlendMode

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

Specifies the blending modes available for combining images or elements in SVG.

[ComVisible(true)]
public enum BlendMode

Fields

Color = 14

Uses the hue and saturation of the source image combined with the luminance of the background.

ColorBurn = 7

Darkens the background to reflect the source image.

ColorDodge = 6

Brightens the background to reflect the source image.

Darken = 4

Darkens the background based on the source image’s colors.

Difference = 10

Highlights the differences between the source image and the background.

Exclusion = 11

Creates an effect similar to Difference, but with lower contrast.

HardLight = 8

Creates a hard light effect based on the source image’s brightness.

Hue = 12

Uses the hue of the source image combined with the luminance and saturation of the background.

Lighten = 5

Lightens the background based on the source image’s colors.

Luminosity = 15

Uses the luminance of the source image combined with the hue and saturation of the background.

Multiply = 1

Multiplies the colors of the source image and the background. The result is a darker image.

Normal = 0

Displays the source image as is, without any blending.

Overlay = 3

Combines Multiply and Screen blend modes to enhance contrast.

Saturation = 13

Uses the saturation of the source image combined with the hue and luminance of the background.

Screen = 2

Makes the dark parts of the source image lighter and the light parts unchanged.

SoftLight = 9

Creates a soft light effect based on the source image’s brightness.

Remarks

Blending modes in SVG are used to determine how two layers are blended into each other. This enum provides a variety of options that control how the colors of the blended layers mix and produce different visual effects.

 English