Skip to content

PdfBlendMode enum

View as Markdown

Namespace: PdfNetStack.Drawing
Assembly: PdfNetStack.dll
Package: PdfNetStack

How drawing combines with what is under it (ISO 32000-1, 11.3.5; the CSS mix-blend-mode values).

public enum PdfBlendMode

Normal = 0

Paint covers the backdrop.

Multiply = 1

Darkens: like ink on paper, or a highlighter.

Screen = 2

Lightens: the inverse of multiply.

Overlay = 3

Multiply or screen, depending on the backdrop.

Darken = 4

The darker of paint and backdrop.

Lighten = 5

The lighter of paint and backdrop.

ColorDodge = 6

Brightens the backdrop toward the paint.

ColorBurn = 7

Darkens the backdrop toward the paint.

HardLight = 8

Multiply or screen, depending on the paint.

SoftLight = 9

A softer hard light.

Difference = 10

The absolute difference.

Exclusion = 11

A lower contrast difference.

Hue = 12

The paint’s hue with the backdrop’s saturation and luminosity.

Saturation = 13

The paint’s saturation.

Color = 14

The paint’s hue and saturation.

Luminosity = 15

The paint’s luminosity.