Class ClampEffect.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class ClampEffect.Props : CustomEffectProperties
- Inheritance
-
ClampEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode of the input image.
If set to ClampAlphaMode.Premultiplied, each pixel's alpha value is clamped to the range [0, 1] and then the RGB values are clamped to the range [0, alpha].
If set to ClampAlphaMode.Straight, all components are clamped to the range [0, 1].
The default value is ClampAlphaMode.Premultiplied.
- Enabled
Enables or disables the effect. The default value is true.