Javascript: TXTextControl.Color.r Property
Property|Introduced in 25.0
Description
The red component of the color.
Syntax
<number> TXTextControl.Color.r
Examples
The following example demonstrates TXTextControl.Color.r in a practical document-editing workflow. The red component of the color.
function inspectR(color) {
const r = color.r;
console.log("r:", r);
}