TXTextControl.Color Object

Represents an ARGB (alpha, red, green, blue) color.

Introduced: 25.0.

Syntax

[JavaScript]
{
    r: <integer>,
    g: <integer>,
    b: <integer>,
    a: <integer>,
}

Constructors

Constructor Description
Color Initializes a new Color object.

Properties

Property Description
a The alpha component of the color.
b The blue component of the color.
g The green component of the color.
r The red component of the color.

See Also