Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D.Effects Namespace / ConvolveMatrix Class / KernelOffset Property

In This Topic
    KernelOffset Property
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Property KernelOffset As Vector2
    public Vector2 KernelOffset {get; set;}
    See Also