Table of Contents

Class PdnBrightnessContrastEffect.Props

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll
public sealed class PdnBrightnessContrastEffect.Props : CustomEffectProperties
Inheritance
PdnBrightnessContrastEffect.Props
Inherited Members

Constructors

Props()

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.

Input
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.

Methods

CreateImpl()
GetAuthor()
GetCategory()
GetDescription()
GetDisplayName()