GxColor.CreateARGB

Syntax

CreateARGB(A: Integer, R: Integer, G: Integer, B: Integer);

Parameters

A. Degree of color transparency.

R. Red color component.

G. Blue color component.

B. Green color component.

Description

The CreateARGB constructor creates a new color in accordance with the specified values of transparency degree and red, green and blue components.

Comments

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:

Example

The constructor use is given in the example for IChartSerie.SeriePoint.

See also:

GxColor