Class: UIColor

UIColor

UIColor
Stores color information, including the type, anti-alias level, and specific color
values in a color object of an appropriate type.


new UIColor(type, antialiasLevel, color)

Parameters:
Name Type Description
type

The color type, 1 for "rgb" and 2 for "gradient".
The supplied color object must correspond to this type.

antialiasLevel

The anti-alias level constant.

color

A #RGBColor or #GradientColor object containing specific color information.

Source:
Returns:

A new UIColor object.