Table of Contents

Class MorphologyEffect

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

Use the morphology effect to thin or thicken edge boundaries in an image. This effect creates a kernel that is 2 times the Width and Height values you specify. This effect centers the kernel on the pixel it is calculating and returns the maximum value in the kernel (if dilating) or minimum value in the kernel (if eroding).

For more information, see Morphology effect

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

Constructors

MorphologyEffect(IDeviceEffectFactory)
MorphologyEffect(IDeviceEffectFactory, IDeviceImage, MorphologyMode, int, int)