ColorMatrixFlag 枚举

定义

指定将受 ImageAttributes 的颜色和灰度调整设置影响的图像和颜色的类型。Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes.

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

字段

AltGrays 2

仅调整灰色底纹。Only gray shades are adjusted.

Default 0

指定所有的颜色值(包括灰色底纹)都由同样的颜色调整矩阵来调整。All color values, including gray shades, are adjusted by the same color-adjustment matrix.

SkipGrays 1

指定调整所有颜色,但不调整灰色底纹。All colors are adjusted, but gray shades are not adjusted. 灰色底纹是指其红色、绿色和蓝色分量的值都相同的任何颜色。A gray shade is any color that has the same value for its red, green, and blue components.

适用于