Table of Contents

Class PixelSwizzleEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll

Swizzles the pixels of an input. This can be used to change the order of channels, or to to duplicate (broadcast) channels. For instance, to swap the red and green channels, set the Swizzle property to GRBA. As another example, to broadcast the green channel to all output channels, use GGGG.

You may use either RGBA or XYZW notation for channel names. Using RGBA is the same as XYZW.

public sealed class PixelSwizzleEffect : CustomEffect<PixelSwizzleEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
PixelSwizzleEffect
Implements
Inherited Members

Constructors

PixelSwizzleEffect(IDeviceEffectFactory)
PixelSwizzleEffect(IDeviceEffectFactory, IDeviceImage, PixelSwizzle, PixelSwizzleAlphaMode)