Create a color table with a specified bit depth. The default
colors will be uniformly distributed throughout the color space
with black at the first index and white at the last.
Syntax
[C#]
ColorPalette(ColorSpace space, int bitDepth);
[Visual Basic]
Sub New(space As ColorSpace, bitDepth As Integer)
Params
Name
Description
space
The color space for the color table.
bitDepth
The bit depth which is used to determine the number of colors
in the table.