|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack RChart Class TContourPlot Properties MaskPalette|
|See also: Mask, FillMask|
The property MaskPalette controls the colors used for rendering the pivotal mask. By default, the MaskPalette array has a size of 256 entries, three of them having special meanings:
0 ... no mask is drawn, data is displayed normally
the first 16 colors (indices 2 to 17) are the standard VGA colors, the rest of the array (indices 18 to 254) contains a smoothly interpolated array of colors from darkblue over green, red, and yellow to white. Please note that the last value of the color palette is never used, since a mask value of 255 causes an inverted region (see also the description of the array property Mask).
The MaskPalette array may be filled and changed by the properties and methods of the class TColorArray. Please note that the size of the MaskPalette must not be changed.