Packagecom.adobe.csxs.types
Classpublic class UIColor

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



Public Properties
 PropertyDefined by
  antiAliasLevel : String
Retrieves the level of anti-aliasing.
UIColor
  color : *
Retrieves the color object containing the specific color information.
UIColor
  type : String
Retrieves the color type.
UIColor
Public Methods
 MethodDefined by
  
UIColor(type:String = "none", antiAliasLevel:String = "none", color:*)
Creates the color object.
UIColor
  
toString():String
Creates a string that contains all the properties of this object.
UIColor
Property detail
antiAliasLevelproperty
antiAliasLevel:String  [read-write]

Retrieves the level of anti-aliasing.

Implementation
    public function get antiAliasLevel():String
    public function set antiAliasLevel(value:String):void

See also

colorproperty 
color:*  [read-write]

Retrieves the color object containing the specific color information.

Implementation
    public function get color():*
    public function set color(value:*):void

See also

typeproperty 
type:String  [read-write]

Retrieves the color type.

Implementation
    public function get type():String
    public function set type(value:String):void

See also

Constructor detail
UIColor()constructor
public function UIColor(type:String = "none", antiAliasLevel:String = "none", color:*)

Creates the color object.

Parameters
type:String (default = "none") — The color type constant, one of "rgb" or "gradient".
 
antiAliasLevel:String (default = "none") — The anti-alias level constant.
 
color:* — A color object containing specific color information.
  • When type is "rgb", an RGBColor object.
  • When type is "gradient", a GradientColor object.

See also

Method detail
toString()method
public function toString():String

Creates a string that contains all the properties of this object.

Returns
String — The properties string.