Property KernelOffset
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
KernelOffset
Shifts the convolution kernel from a centered position on the output pixel to a position you specify
left/right and up/down. The offset is defined in kernel units. With some offsets and kernel sizes, the
convolution kernel's samples won't land on a pixel image center. The pixel values for the kernel sample
are computed by bilinear interpolation.
The default values is { 0, 0 }
.
public EffectPropertyAccessor<Vector2Float> KernelOffset { get; }