Class OpacityProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Filters
- Assembly
- SixLabors.ImageSharp.dll
Applies an opacity filter matrix using the given amount.
public sealed class OpacityProcessor : FilterProcessor, IImageProcessor
- Inheritance
-
OpacityProcessor
- Implements
- Inherited Members
Constructors
OpacityProcessor(float)
Initializes a new instance of the OpacityProcessor class.
public OpacityProcessor(float amount)
Parameters
amountfloatThe proportion of the conversion. Must be between 0 and 1.
Properties
Amount
Gets the proportion of the conversion.
public float Amount { get; }