Class SepiaEffect2.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class SepiaEffect2.Props : CustomEffectProperties
- Inheritance
-
SepiaEffect2.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode of the input and output. The default is Premultiplied.
To preserve color information for transparent pixels, make sure the input is in straight alpha format (not premultiplied) and set this property to Straight.
The default value is Premultiplied.
- InputGamma
Indicates the gamma of the input image, and for the output. If the input image is known to be linear, then the Linear value should be used so that the correct calculations are used.
The default value is Srgb.
- Intensity
The intensity of the effect. The range is [0, 1] and the default is 0.5.
If 0.5 is used, this effect produces the same output as the original, parameterless Paint.NET Sepia effect.
If 0 is used, this effect produces the same output as GrayscaleEffect2.