Class PixelSwizzleEffect.Props
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Framework.dll
public sealed class PixelSwizzleEffect.Props : CustomEffectProperties
- Inheritance
-
PixelSwizzleEffect.Props
- Inherited Members
Constructors
Properties
- AlphaMode
Specifies the alpha mode of the input and output.
If set to Premultiplied, the input will be unpremultiplied, then swizzling will be performed, and then the output will be premultiplied.
If set to Straight, the input will be swizzled without unpremultiplication or premultiplication.
The effect may also skip the premultiplication/unpremultiplication steps if it is not necessary for the given swizzle (such as when the alpha channel is not modified). The default value is Premultiplied.
- Swizzle
Specifies the swizzling to be performed. The default value is RGBA, which effectively does no swizzling.