Creates a linear palette based on the provided color.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public void Colorize( Color color, int splitSize ) |
Visual Basic (Declaration) |
---|
Public Sub Colorize ( _ color As Color, _ splitSize As Integer _ ) |
Visual C++ |
---|
public: void Colorize( Color color, int splitSize ) |
Parameters
- color
- Type: System.Drawing..::.Color
The Color used to colorize the palette.
- splitSize
- Type: System..::.Int32
The position of the color within the new palette. 0 < splitSize < Length.
Remarks
Only call this method on linear palettes.