Instance Property

kernelHeight

The height of the kernel window.

Declaration

var kernelHeight: Int { get set }

Discussion

The default value is 3.

Any positive non-zero value is valid, including even values. The position of the top edge of the kernel window is given by offset.y - (kernelHeight>>1).