KernelType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the kernel used to create the effect.
public enum class KernelType
public enum KernelType
type KernelType =
Public Enum KernelType
- Inheritance
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.