ColorMatrixFlag
Namespace: System.Drawing.Imaging
Assembly: System.Drawing.Managed (4.0.0.0)
Specifies available options for color-adjusting. GDI+ can adjust color data only, grayscale data only, or both.
- C#
- VB.NET
public enum ColorMatrixFlag : Enum
Public Enum ColorMatrixFlag As [Enum]
Fields
| Name | Description |
|---|---|
| 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. |
Used By
| Name | Description |
|---|---|
| ImageAttributes.SetColorMatrix | Sets the color-adjustment matrix for the default category. |
| ImageAttributes.SetColorMatrices | Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category. |