KernelType Enum

Definition

Describes the kernel used to create the effect.

C#
public enum KernelType
Inheritance
KernelType

Fields

Name Value Description
Gaussian 0

A distributed curve that creates a smooth distribution for a blur.

Box 1

A simple blur created with a square distribution curve.

Remarks

This enumeration specifies the curve that is used to calculate the blur.

Performance Note: A Gaussian kernel creates a higher-quality blur but if performance is a concern, use the Box kernel because it uses less calculations.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9