Table of Contents

Class AlphaMaskEffect2

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

Similar to AlphaMaskEffect, but also supports Straight alpha via configuring the AlphaMode property.

This effect applies an alpha mask to an image. It has two inputs, named Destination and Mask. Color values in the Destination image are multiplied by the alpha channel of the Mask image.

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

Constructors

AlphaMaskEffect2(IDeviceEffectFactory)
AlphaMaskEffect2(IDeviceEffectFactory, IDeviceImage, IDeviceImage, AlphaMaskAlphaMode2)