Table of Contents

Class EdgeDetectionEffect

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

Filters out the content of an image, leaving lines at the edges of contrasting sections of the image.

For more information, see Edge-detection effect

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

Remarks

Note that this effect is a wrapper around Direct2D's built-in Edge-detection effect, which crashes when using very small values for the Strength property. This wrapper implements a workaround.

Constructors

EdgeDetectionEffect(IDeviceEffectFactory)