CreateARGB(A: Integer, R: Integer, G: Integer, B: Integer);
A. Degree of color transparency.
R. Red color component.
G. Blue color component.
B. Green color component.
The CreateARGB constructor creates a new color in accordance with the specified values of transparency degree and red, green and blue components.
To specify parameters, use integer numbers in the range from 0 to 255. If the A parameter takes the 0 value, 100% color transparency is used (fully transparent color); if the parameter takes the 255 value, 0% color transparency is used (fully opaque color).
Features of constructor use when determining a fill color of selected table cells using the ITabView.SelectionColor property:
If the A parameter takes the value strictly less than 255, the color transparency degree specified in default repository settings in the Fill Color Transparency (%) parameter is not taken into account.
If the A parameter takes the 255 value, the default color transparency degree is used that is 95%.
The constructor use is given in the example for IChartSerie.SeriePoint.
See also: