FreeImage.NET Class Library Reference
PaletteColorize Method (Color, Int32) |
Creates a linear palette based on the provided color.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public void Colorize( Color color, int splitSize )
Parameters
- color
- Type: System.DrawingColor
The Color used to colorize the palette. - splitSize
- Type: SystemInt32
The position of the color within the new palette. 0 < splitSize < Length.
Remarks
Only call this method on linear palettes.
See Also