[]
Builtin Morphology effect.
public class Morphology : Effect, IDisposable, IUnknown
Initializes a new instance of the Morphology class.
public Morphology(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Size of the kernel in the Y direction. The units are in DIPs.
public int Height { get; set; }
The morphology mode. The available modes are erode (flatten) and dilate (thicken).
public MorphologyMode Mode { get; set; }
Size of the kernel in the X direction. The units are in DIPs.
public int Width { get; set; }
Initializes a new instance of Morphology effect.
public static Morphology Create(DeviceContext context)
context
DeviceContext