Table of Contents

Class MakeOpaqueEffect

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

Forces the input image to be opaque. This is useful when working with an image source that is in the BGR32 pixel format, as the "alpha" channel may be zero or uninitialized.

This effect is usually used with a PaintDotNet.Direct2D1.Effects.BitmapSourceEffect2 as the input.

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

Constructors

MakeOpaqueEffect(IDeviceEffectFactory)
MakeOpaqueEffect(IDeviceEffectFactory, IDeviceImage, AlphaMode)