Creates a linear palette based on the provided color.
Namespace:
FreeImageAPIAssembly: 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.