| Package | away3d.core.utils |
| Class | public class Color |
| Inheritance | Color Object |
| Method | Defined By | ||
|---|---|---|---|
add(colora:int, colorb:int):int [static] | Color | ||
fromFloats(red:Number, green:Number, blue:Number):int [static] | Color | ||
fromHSV(hue:Number, saturation:Number, value:Number):int [static] | Color | ||
fromInts(red:int, green:int, blue:int):int [static] | Color | ||
fromIntsCheck(red:int, green:int, blue:int):int [static] | Color | ||
inverseAdd(colora:int, colorb:int):int [static] | Color | ||
multiply(color:int, k:Number):int [static] | Color | ||
| Constant | Defined By | ||
|---|---|---|---|
| black : int = 0x000000 [static] | Color | ||
| blue : int = 0x0000FF [static] | Color | ||
| cyan : int = 0x00FFFF [static] | Color | ||
| green : int = 0x00FF00 [static] | Color | ||
| purple : int = 0xFF00FF [static] | Color | ||
| red : int = 0xFF0000 [static] | Color | ||
| white : int = 0xFFFFFF [static] | Color | ||
| yellow : int = 0xFFFF00 [static] | Color | ||
| add | () | method |
public static function add(colora:int, colorb:int):intParameters
colora:int | |
colorb:int |
int |
| fromFloats | () | method |
public static function fromFloats(red:Number, green:Number, blue:Number):intParameters
red:Number | |
green:Number | |
blue:Number |
int |
| fromHSV | () | method |
public static function fromHSV(hue:Number, saturation:Number, value:Number):intParameters
hue:Number | |
saturation:Number | |
value:Number |
int |
| fromInts | () | method |
public static function fromInts(red:int, green:int, blue:int):intParameters
red:int | |
green:int | |
blue:int |
int |
| fromIntsCheck | () | method |
public static function fromIntsCheck(red:int, green:int, blue:int):intParameters
red:int | |
green:int | |
blue:int |
int |
| inverseAdd | () | method |
public static function inverseAdd(colora:int, colorb:int):intParameters
colora:int | |
colorb:int |
int |
| multiply | () | method |
public static function multiply(color:int, k:Number):intParameters
color:int | |
k:Number |
int |
| black | Constant |
public static const black:int = 0x000000| blue | Constant |
public static const blue:int = 0x0000FF| cyan | Constant |
public static const cyan:int = 0x00FFFF| green | Constant |
public static const green:int = 0x00FF00| purple | Constant |
public static const purple:int = 0xFF00FF| red | Constant |
public static const red:int = 0xFF0000| white | Constant |
public static const white:int = 0xFFFFFF| yellow | Constant |
public static const yellow:int = 0xFFFF00