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