color


CloudControl Pro 9 Docs / color

color

The color module contains classes for color, the most common is Color, which represents ARGB color.

See

Color

Table of contents

Classes

Interfaces

Functions

Functions

toColorInt

toColorInt(number): number

Convert a number to a color integer. The actual implementation is to convert the number that larger than int32 max to a negative number. For example, 0xFFFFFFFF will be converted to -1.

Parameters

Name Type Description
number number integer

Returns

number

color integer