Table of Contents

Class OpacityMetadataEffect

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

You can use this effect to mark an area of an input image as opaque, so internal rendering optimizations to the graph are possible.

NOTE: This effect doesn't modify the image itself to be opaque. It modifies data associated with the image so the renderer assumes the specified region is opaque. Use the MakeOpaqueEffect if you need the alpha channel to actually be opaque.

For more information, see Opacity metadata effect

public sealed class OpacityMetadataEffect : DeviceEffect<OpacityMetadataEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
OpacityMetadataEffect
Implements
Inherited Members
Extension Methods

Constructors

OpacityMetadataEffect(IDeviceEffectFactory)
OpacityMetadataEffect(IDeviceEffectFactory, IDeviceImage, RectFloat)