Table of Contents

Class BackdropColorMatrixLayerEffect

Namespace
SixLabors.ImageSharp.Drawing.Processing
Assembly
SixLabors.ImageSharp.Drawing.dll

Transforms the colours of the backdrop beneath a compositing layer through a colour matrix. The named backdrop colour effects all specialize this; use it directly for matrices they do not cover.

public class BackdropColorMatrixLayerEffect : BackdropLayerEffect
Inheritance
BackdropColorMatrixLayerEffect
Derived
Inherited Members

Constructors

BackdropColorMatrixLayerEffect(ColorMatrix)

Initializes a new instance of the BackdropColorMatrixLayerEffect class.

public BackdropColorMatrixLayerEffect(ColorMatrix matrix)

Parameters

matrix ColorMatrix

The colour matrix applied to the backdrop.

Properties

IsPassThrough

Gets a value indicating whether the effect leaves the layer content unchanged, in which case its application is skipped entirely.

public override bool IsPassThrough { get; }

Property Value

bool

Matrix

Gets the colour matrix applied to the backdrop.

public ColorMatrix Matrix { get; }

Property Value

ColorMatrix