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 is a Vector2Float (Kernel Unit Length X, Kernel Unit Length Y) and is
defined in (device-independent pixels (DIPs)/Kernel Unit). The effect uses bilinear interpolation
to scale the bitmap to match size of kernel elements.
The default value is { 1, 1 }.
public EffectPropertyAccessor<Vector2Float> KernelUnitLength { get; }