Edit

Share via


KernelType Enum

Definition

Describes the kernel used to create the effect.

public enum class KernelType
public enum KernelType
type KernelType = 
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