KernelType Enumeration

KernelType Enumeration

 

Describes the kernel used to create the effect.

Namespace:   System.Windows.Media.Effects
Assembly:  PresentationCore (in PresentationCore.dll)

public enum KernelType

Member nameDescription
Box

A simple blur created with a square distribution curve.

Gaussian

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

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft