Instance Property

kernelWidth

The width of the kernel window.

Declaration

var kernelWidth: Int { get set }

Discussion

The default value is 3.

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