Property KernelUnitLength
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
KernelUnitLength
The size of an element in the Sobel kernel used to generate the surface normal in the X and Y direction. This property maps to the dx and dy values in the Sobel gradient. This value is defined in (DIPs / Kernel Unit). The effect uses bilinear interpolation to scale the bitmap to match the size of kernel elements. The default value is { 1, 1 }.
public EffectPropertyAccessor<Vector2Float> KernelUnitLength { get; }