KernelType 枚举

定义

描述用于创建效果的内核。Describes the kernel used to create the effect.

public enum class KernelType
public enum KernelType
type KernelType = 
Public Enum KernelType
继承
KernelType

字段

Box 1

用平直分布曲线创建的简单模糊。A simple blur created with a square distribution curve.

Gaussian 0

为模糊创建平滑分布的分布曲线。A distributed curve that creates a smooth distribution for a blur.

注解

此枚举指定用于计算模糊的曲线。This enumeration specifies the curve that is used to calculate the blur.

性能说明: 高斯内核会创建更高质量的模糊, 但如果需要考虑性能问题, 请使用 Box 内核, 因为它使用更少的计算。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.

适用于