Table of Contents

Class CrossFadeMaskEffect

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

Similar to CrossFadeEffect, but uses a mask image to do a per-pixel cross-fade between two images.

A SourceMask alpha value of 0 will use the pixel from Destination, while a value of 1 will use the pixel from Source, and 0.5 will take the average.

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

Constructors

CrossFadeMaskEffect(IDeviceEffectFactory)
CrossFadeMaskEffect(IDeviceEffectFactory, IDeviceImage, IDeviceImage, IDeviceImage)