TClrColor.Alpha Property

Gets or sets the alpha component value of this Color class.

Namespace: CNClrLib.Control.Graphics
 property Alpha: Integer read FAlpha write SetAlpha stored IsAlphaStored;

Property Value

Type: Integer

The alpha component value of this Color.

The color of each pixel is represented as a 32-bit number: 8 bits each for alpha, red, green, and blue (ARGB). The alpha component specifies the transparency of the color: 0 is fully transparent, and 255 is fully opaque. Likewise, an A value of 255 represents an opaque color. An Alpha value from 1 through 254 represents a semitransparent color. The color becomes more opaque as Alpha approaches 255.