ColorMatrixFlags enumeration

Specifies which colours a colour matrix and a grayscale matrix of an ImageAttributes object change.

The members are alternatives, not bits to combine. A gray shade is any colour with equal red, green and blue components.

Member Value Description
ColorMatrixFlagsDefault 0 All colour values, gray shades included, are adjusted by the same colour matrix.
ColorMatrixFlagsSkipGrays 1 Colours are adjusted, but gray shades are not.
ColorMatrixFlagsAltGray 2 Colours are adjusted by one matrix and gray shades by another.

Used by

See Also