PeachDrawing

PeachDrawing.RasterCanvas

RasterCanvas.PushBlendMode(PaintBlendMode) Method

Push a PDF blend mode for subsequent drawing, saving state so it can later be undone by PopBlendMode() (stack-shaped, same convention as PushClip(Rect)/ PopClip()). Used e.g. to composite a fill against the content underneath it via Difference for a true color inversion (CSS outline-color: invert).

public override void PushBlendMode(PeachDrawing.Core.PaintBlendMode mode);

Parameters

mode PaintBlendMode

Blend mode to apply to subsequent drawing.