[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.Morphology

Class Morphology

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Builtin Morphology effect.

public class Morphology : Effect, IDisposable, IUnknown
Inheritance
object
Morphology
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Morphology(IntPtr)

Initializes a new instance of the Morphology class.

public Morphology(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

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).

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

Methods

Create(DeviceContext)

Initializes a new instance of Morphology effect.

public static Morphology Create(DeviceContext context)

Parameters

context DeviceContext

Returns

Morphology