ColorMatrix Constructor (Single)
Initializes a new instance of the ColorMatrix class using the elements in the specified matrix newColorMatrix.
Assembly: System.Drawing (in System.Drawing.dll)
The following code example demonstrates how to construct and use a ColorMatrix. To run this example, paste the code into a Windows Form and call RotateColors from the form's Paint event-handling method passing e as PaintEventArgs.
Available since 1.1