ColorMatrix Constructor (Single[][])

 
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.

Initializes a new instance of the ColorMatrix class using the elements in the specified matrix newColorMatrix.

This API is not CLS-compliant.

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

[<CLSCompliantAttribute(false)>]
new : 
        newColorMatrix:float32[][] -> ColorMatrix

Parameters

newColorMatrix
Type: System.Single[][]

The values of the elements for the new ColorMatrix.

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: