Package | away3d.core.utils |
Class | public class Color |
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):int
Parameters
colora:int |
|
colorb:int |
int |
fromFloats | () | method |
public static function fromFloats(red:Number, green:Number, blue:Number):int
Parameters
red:Number |
|
green:Number |
|
blue:Number |
int |
fromHSV | () | method |
public static function fromHSV(hue:Number, saturation:Number, value:Number):int
Parameters
hue:Number |
|
saturation:Number |
|
value:Number |
int |
fromInts | () | method |
public static function fromInts(red:int, green:int, blue:int):int
Parameters
red:int |
|
green:int |
|
blue:int |
int |
fromIntsCheck | () | method |
public static function fromIntsCheck(red:int, green:int, blue:int):int
Parameters
red:int |
|
green:int |
|
blue:int |
int |
inverseAdd | () | method |
public static function inverseAdd(colora:int, colorb:int):int
Parameters
colora:int |
|
colorb:int |
int |
multiply | () | method |
public static function multiply(color:int, k:Number):int
Parameters
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