Packagecom.adobe.bridge
Classpublic class Color
InheritanceColor Inheritance CSHostObject Inheritance flash.utils.Proxy

Since : CS5



Public Properties
 PropertyDefined By
  alpha : Number
Degree of opacity when the color is composited.
Color
  blue : Number
Blue component value.
Color
  green : Number
Green component value.
Color
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  number : Number
The color expressed as a 32-bit ARGB value.
Color
  red : Number
Red component value.
Color
Public Methods
 MethodDefined By
  
Color(arg1:Object = null, arg2:Object = null, arg3:Object = null, arg4:Object = null)
Color
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
  
toString():String
Retrieves the hexadecimal value of this color, including the alpha channel.
Color
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
  
createWithArgs(args:Array):void
[override]
Color
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
alphaproperty
alpha:Number

Since : CS5

Degree of opacity when the color is composited.


Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
blueproperty 
blue:Number

Since : CS5

Blue component value.


Implementation
    public function get blue():Number
    public function set blue(value:Number):void
greenproperty 
green:Number

Since : CS5

Green component value.


Implementation
    public function get green():Number
    public function set green(value:Number):void
numberproperty 
number:Number

Since : CS5

The color expressed as a 32-bit ARGB value.


Implementation
    public function get number():Number
    public function set number(value:Number):void
redproperty 
red:Number

Since : CS5

Red component value.


Implementation
    public function get red():Number
    public function set red(value:Number):void
Constructor Detail
Color()Constructor
public function Color(arg1:Object = null, arg2:Object = null, arg3:Object = null, arg4:Object = null)

Since : CS5

Parameters
arg1:Object (default = null) — (Object)
 
arg2:Object (default = null) — (Object)
 
arg3:Object (default = null) — (Object)
 
arg4:Object (default = null)
Method Detail
createWithArgs()method
override protected function createWithArgs(args:Array):void

Since : CS5

Parameters

args:Array

toString()method 
public function toString():String

Since : CS5

Retrieves the hexadecimal value of this color, including the alpha channel.

Returns
String