Table of Contents

Class PremultiplyEffect2

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

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

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

Constructors

PremultiplyEffect2(IDeviceEffectFactory)
PremultiplyEffect2(IDeviceEffectFactory, IDeviceImage, bool)