Class PdnBrightnessContrastEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public sealed class PdnBrightnessContrastEffect.Props : CustomEffectProperties
- Inheritance
-
PdnBrightnessContrastEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode for the input image, and for the output.
The default value is Premultiplied.
- Brightness
Specifies the amount to adjust the input's brightness by. The range of this property is [-1, +1], which corresponds to the UI's range of [-100, +100]. The default value is 0.
- Contrast
Specifies the amount to adjust the input's contrast by. The range of this property is [-1, +1], which corresponds to the UI's range of [-100, +100]. The default value is 0.
- 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.