Class PdnDistortionEffect.Props
- Namespace
- PaintDotNet.Effects.Gpu
- Assembly
- PaintDotNet.Effects.Gpu.dll
public abstract class PdnDistortionEffect.Props : DynamicEffect.Props
- Inheritance
-
PdnDistortionEffect.Props
- Derived
- Inherited Members
Properties
- AlphaMode
Gets or sets the alpha mode for the input and the output. The default value is Premultiplied.
- Author
The author of the effect.
- EdgeMode
Gets or sets how sample coordinates outside of InputRect are treated.
The default value will vary depending on the effect.
- Quality
Gets or sets the quality of rendering. This controls the number of sub-pixel samples used for multisample antialiasing. The number of samples is the square of this value.
Rendering performance will be proportional to the number of samples, which means it is proportional to the square of this value. That is, a quality value of 8, which uses 64 samples, will take about 64 times as long to render compared to using a quality value of 1.
The range is [1, 8] and the default is usually 2 but derived classes may change this.
- SamplingMode
Gets or sets the sampling mode used when reading from the input image. The default is PdnDistortionSamplingMode.Linear.