ColorMatrixFlag Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
AltGrays

Only gray shades are adjusted.

Default

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

SkipGrays

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
Show: