DS Server

Javascript: TXTextControl.Color.a Property

Property|Introduced in 25.0

Description

The alpha component of the color.

Syntax

<number> TXTextControl.Color.a

Examples

The following example demonstrates TXTextControl.Color.a in a practical document-editing workflow. The alpha component of the color.

function inspectA(color) {
    const a = color.a;
    console.log("a:", a);
}