Table of Contents

Class Morphology

Namespace
SharpDX.Direct2D1.Effects
Assembly
SharpDX.Direct2D1.dll

Built in Morphology effect.

public class Morphology : Effect
Inheritance
Morphology
Inherited Members

Constructors

Morphology(DeviceContext)

Initializes a new instance of effect.

public Morphology(DeviceContext context)

Parameters

context DeviceContext

Properties

Height

Size of the kernel in the Y direction. The units are in DIPs.

public int Height { get; set; }

Property Value

int

Mode

The morphology mode. The available modes are erode (flatten) and dilate (thicken). See Morphology modes for more info.

public MorphologyMode Mode { get; set; }

Property Value

MorphologyMode

Width

Size of the kernel in the X direction. The units are in DIPs.

public int Width { get; set; }

Property Value

int