ColorMatrixFlag

System.Drawing.Imaging.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.

public enum ColorMatrixFlag : 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

Sets the color-adjustment matrix for the default category.

Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.

Last updated

Was this helpful?