Class BackdropSepiaLayerEffect
- Namespace
- SixLabors.ImageSharp.Drawing.Processing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Shifts the colours of the backdrop beneath a compositing layer towards sepia. The CSS equivalent
is backdrop-filter: sepia().
public sealed class BackdropSepiaLayerEffect : BackdropColorMatrixLayerEffect
- Inheritance
-
BackdropSepiaLayerEffect
- Inherited Members
Constructors
BackdropSepiaLayerEffect(float)
Initializes a new instance of the BackdropSepiaLayerEffect class.
public BackdropSepiaLayerEffect(float amount)
Parameters
amountfloatThe sepia amount between 0 and 1: 0 leaves the backdrop unchanged and 1 is fully sepia.
Properties
Amount
Gets the sepia amount.
public float Amount { get; }