ColorMatrixFlag Enumeration

ColorMatrixFlag Enumeration


Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes.

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public enum ColorMatrixFlag

Member nameDescription

Only gray shades are adjusted.


All color values, including gray shades, are adjusted by the same color-adjustment matrix.


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.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft