Package | com.adobe.bridge |
Class | public class Color |
Inheritance | Color ![]() ![]() |
Since : | CS5 |
Property | Defined By | ||
---|---|---|---|
alpha : Number
Degree of opacity when the color is composited. | Color | ||
blue : Number
Blue component value. | Color | ||
green : Number
Green component value. | Color | ||
![]() | hostObjectDelegate : HostObject Getter for the delegate | CSHostObject | |
number : Number
The color expressed as a 32-bit ARGB value. | Color | ||
red : Number
Red component value. | Color |
Method | Defined By | ||
---|---|---|---|
Color(arg1:Object = null, arg2:Object = null, arg3:Object = null, arg4:Object = null) | Color | ||
![]() | filterArgsForHBAPI(args:Array):Array [static]
Function to clean up the argument list and put it into a format that
makes sense for HBAPI. | CSHostObject | |
![]() | filterSingleObjectForHBAPI(value:Object):Object [static]
| CSHostObject | |
![]() | 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 | |
![]() | getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):* [static] | CSHostObject | |
![]() | hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
| CSHostObject | |
![]() | hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):* [static]
Implements a safe call of a static method on the host
| CSHostObject | |
![]() | hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
| CSHostObject | |
![]() | hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
| CSHostObject | |
![]() | 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 | |
![]() | hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
| CSHostObject | |
![]() | hostSetStatic(className:String, propertyName:String, rawvalue:*):* [static]
Implements a safe set of a static property on the host
| CSHostObject | |
![]() | 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 | |
![]() | 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 | ||
![]() | wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):* [static]
Method used on static/normal get/ hostcalls
| CSHostObject |
Method | Defined By | ||
---|---|---|---|
createWithArgs(args:Array):void [override] | Color | ||
![]() | hostCreate(args:Array):void | CSHostObject |
alpha | property |
alpha:Number
Since : | CS5 |
Degree of opacity when the color is composited.
public function get alpha():Number
public function set alpha(value:Number):void
blue | property |
blue:Number
Since : | CS5 |
Blue component value.
public function get blue():Number
public function set blue(value:Number):void
green | property |
green:Number
Since : | CS5 |
Green component value.
public function get green():Number
public function set green(value:Number):void
number | property |
number:Number
Since : | CS5 |
The color expressed as a 32-bit ARGB value.
public function get number():Number
public function set number(value:Number):void
red | property |
red:Number
Since : | CS5 |
Red component value.
public function get red():Number
public function set red(value:Number):void
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 )
|
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.
ReturnsString |