Table of Contents

Property KernelMatrix

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

KernelMatrix

The kernel matrix to be applied to the image. The kernel elements aren't bounded and are specified as floats. The first set of KernelSizeX numbers in the FLOAT[] corresponds to the first row in the kernel. The second set of KernelSizeX numbers correspond to the second row, and so on up to KernelSizeY rows.
The default value is { 0, 0, 0, 0, 1, 0, 0, 0, 0 }.

public EffectPropertyAccessor<IReadOnlyList<float>> KernelMatrix { get; }

Property Value

EffectPropertyAccessor<IReadOnlyList<float>>