Creates a linear palette based on the provided color.

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

Syntax

C#
public void Colorize(
	Color color,
	double splitSize
)
Visual Basic (Declaration)
Public Sub Colorize ( _
	color As Color, _
	splitSize As Double _
)
Visual C++
public:
void Colorize(
	Color color, 
	double splitSize
)

Parameters

color
Type: System.Drawing..::.Color
The Color used to colorize the palette.
splitSize
Type: System..::.Double
The position of the color within the new palette. 0 < splitSize < 1.

Remarks

Only call this method on linear palettes.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also