Table of Contents

Class GammaTransferEffect2.Props

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll
public sealed class GammaTransferEffect2.Props : CustomEffectProperties
Inheritance
GammaTransferEffect2.Props
Inherited Members

Constructors

Props()

Properties

AlphaAmplitude

The amplitude of the gamma transfer function for the Alpha channel.
The default value is 1.0f.

AlphaDisable

If you set this to true it does not apply the transfer function to the Alpha channel. An identity transfer function is used.
If you set this to false it applies the gamma transfer function to the Alpha channel.
The default value is false.

AlphaExponent

The exponent of the gamma transfer function for the Alpha channel.
The default value is 1.0f.

AlphaMode

Specifies the alpha mode for the input and the output.
The default value is Premultiplied.

AlphaOffset

The offset of the gamma transfer function for the Alpha channel.
The default value is 0.0f.

BlueAmplitude

The amplitude of the gamma transfer function for the Blue channel.
The default value is 1.0f.

BlueDisable

If you set this to true it does not apply the transfer function to the Blue channel. An identity transfer function is used.
If you set this to false it applies the gamma transfer function to the Blue channel.
The default value is false.

BlueExponent

The exponent of the gamma transfer function for the Blue channel.
The default value is 1.0f.

BlueOffset

The offset of the gamma transfer function for the Blue channel.
The default value is 0.0f.

ClampOutput

Whether the effect clamps color values to between 0 and 1 before the effect passes the values to the next effect in the graph. The effect clamps the values before it premultiplies the alpha.
If you set this to true, the effect will clamp the values.
If you set this to false, the effect will not clamp the color values, but other effects and the output surface may clamp the values if they are not of high enough precision.
The default value is false.

GreenAmplitude

The amplitude of the gamma transfer function for the Green channel.
The default value is 1.0f.

GreenDisable

If you set this to true it does not apply the transfer function to the Green channel. An identity transfer function is used.
If you set this to false it applies the gamma transfer function to the Green channel.
The default value is false.

GreenExponent

The exponent of the gamma transfer function for the Green channel.
The default value is 1.0f.

GreenOffset

The offset of the gamma transfer function for the Green channel.
The default value is 0.0f.

Input
RedAmplitude

The amplitude of the gamma transfer function for the Red channel.
The default value is 1.0f.

RedDisable

If you set this to true it does not apply the transfer function to the Red channel. An identity transfer function is used.
If you set this to false it applies the gamma transfer function to the Red channel.
The default value is false.

RedExponent

The exponent of the gamma transfer function for the Red channel.
The default value is 1.0f.

RedOffset

The offset of the gamma transfer function for the Red channel.
The default value is 0.0f.

Methods

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