Initializes a new instance for the given array of Color that contains a palette.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public Palette(
	Color[] palette
)
Visual Basic (Declaration)
Public Sub New ( _
	palette As Color() _
)
Visual C++
public:
Palette(
	array<Color>^ palette
)

Parameters

palette
Type: array< System.Drawing..::.Color >[]()[]
A Color array containing the palette data to initialize this instance.

Version Information

FreeImage.NET

Supported in: 3.12.0, 3.13.0, 3.13.1

See Also