Table of Contents

Class ConvertAlphaEffect

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

This effect converts an input image from one alpha format to another. It uses the PremultiplyEffect or UnPremultiplyEffect depending on the value of the Mode property.

This effect may be more convenient than using PremultiplyEffect or UnPremultiplyEffect depending on the nature and configuration of the effect graph you are working with.

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

Constructors

ConvertAlphaEffect(IDeviceEffectFactory)
ConvertAlphaEffect(IDeviceEffectFactory, IDeviceImage, ConvertAlphaMode)