Table of Contents

Class ReplaceChannelEffect

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

Replaces one channel of the input image with that of another image.

color = Input[x,y];
color[Channel] = ChannelSource[x,y][Channel];
return color;
public sealed class ReplaceChannelEffect : CustomEffect<ReplaceChannelEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
ReplaceChannelEffect
Implements
Inherited Members

Constructors

ReplaceChannelEffect(IDeviceEffectFactory)
ReplaceChannelEffect(IDeviceEffectFactory, IDeviceImage, IDeviceImage, ChannelSelector, ReplaceChannelAlphaMode)