Table of Contents

Class PdnVignetteEffect.Props

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

Constructors

Props()

Properties

AlphaMode

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

Input
InputGamma

Indicates the gamma of the input image, and for the output. The effect works in linear gamma space, so if the input image is known to be linear, the Linear value should be used to prevent sRGB to linear conversions from being performed on the input, and linear to sRGB conversions being performed for the output.
The default value is Srgb.

Offset

The offset of the vignette from the center. This is specified in coordinates that are normalized to half of the image coordinate space.
[0, 0] draws the vignette from the center of the image, while [-1, -1] draws the vignette between the top left of the image and the center, and [+1, +1] draws the between the center and the bottom right of the image.
The range of this property is [-2, -2] to [+2, +2]. The default value is [0, 0].

Radius

Specifies the normalized ratio of the vignette's radius. The range is 0.1 to 4.0, and the default is 0.5.

Strength

Specifies how strong the vignette effect is. The range is 0 to 1, and the default is 1.

Methods

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