Table of Contents

Class UnPremultiplyEffect2

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

This effect produces the same output as UnPremultiplyEffect, but also has a property to enable or disable unpremultiplication. This simplifies creating transform or effect graphs that may or may not need to use unpremultiplication depending on their own configuration.

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

Constructors

UnPremultiplyEffect2(IDeviceEffectFactory)