| Constant | Defined By | ||
|---|---|---|---|
| CMY2CMYK : Function
Converts the specified CMY object in this CMYK representation. | graphics.colors | ||
| CMY2RGB : Function
Returns the RGB representation of the specified CMY object. | graphics.colors | ||
| CMYK2CMY : Function
Converts the specified CMYK object in this CMY representation. | graphics.colors | ||
| HSL2RGB : Function
Returns the RGB representation of the passed-in HSL color. | graphics.colors | ||
| HSL2RGBNumber : Function
Returns the rgb number representation of the passed-in HSL color. | graphics.colors | ||
| HSV2RGB : Function
Returns the RGB representation of the passed-in HSV color. | graphics.colors | ||
| HSV2RGBNumber : Function
Returns the rgb number representation of the passed-in HSV color. | graphics.colors | ||
| HUE2RGB : Function
Converts the hue values in rgb values. | graphics.colors | ||
| RGB2CMY : Function
Returns the CMY representation of the specified RGB object. | graphics.colors | ||
| RGB2HSL : Function
Returns the HSL representation of the passed-in RGB parameter. | graphics.colors | ||
| RGB2HSV : Function
Returns the HSV representation of the passed-in RGB parameter. | graphics.colors | ||
| RGB2XYZ : Function
Transform the specified RGB in this XYZ representation. | graphics.colors | ||
| RGB2YUV : Function
Returns the YUV representation of the passed-in RGB parameter. | graphics.colors | ||
| XYZ2RGB : Function
Transform the specified XYZ in this RGB representation (use Observer = 2°, Illuminant = D65). | graphics.colors | ||
| XYZ2Yxy : Function
Transform the specified XYZ in this Yxy representation (use Observer = 2°, Illuminant = D65). | graphics.colors | ||
| YUV2RGB : Function
Returns the RGB representation of the passed-in YUV parameter. | graphics.colors | ||
| Yxy2XYZ : Function
Transform the specified Yxy in this XYZ representation (use Observer = 2°, Illuminant = D65). | graphics.colors | ||
| CMY2CMYK | Constant |
public const CMY2CMYK:FunctionConverts the specified CMY object in this CMYK representation.
| CMY2RGB | Constant |
public const CMY2RGB:FunctionReturns the RGB representation of the specified CMY object.
Example :
import graphics.colors.CMY ;
import graphics.colors.CMY2RGB ;
import graphics.colors.RGB ;
var cmy:CMY = new CMY( 0 , 1 , 1 ) ;
var rgb:RGB = CMY2RGB( cmy ) ;
trace( rgb ) ; // [RGB r:255 g:0 b:0 hex:0xFF0000]
| CMYK2CMY | Constant |
public const CMYK2CMY:FunctionConverts the specified CMYK object in this CMY representation.
| HSL2RGBNumber | Constant |
public const HSL2RGBNumber:FunctionReturns the rgb number representation of the passed-in HSL color.
Example :
import graphics.colors.HSL ;
import graphics.colors.HSL2RGBNumber ;
var hsl:HSL = new HSL( 0 , 1 , 0.5 ) ;
var rgb:Number = HSL2RGBNumber( hsl ) ;
trace( rgb ) ; // 0xFF0000
| HSL2RGB | Constant |
public const HSL2RGB:FunctionReturns the RGB representation of the passed-in HSL color.
Example :
import graphics.colors.HSL ;
import graphics.colors.RGB ;
import graphics.colors.HSL2RGB ;
var hsl:HSL = new HSL( 0 , 1 , 0.5 ) ;
var rgb:RGB = HSL2RGB( hsl ) ;
trace( rgb ) ; // [RGB r:255 g:0 b:0 hex:0xFF0000]
| HSV2RGBNumber | Constant |
public const HSV2RGBNumber:FunctionReturns the rgb number representation of the passed-in HSV color.
Example :
import graphics.colors.HSV ;
import graphics.colors.HSV2RGBNumber ;
var hsv:HSV = new HSV( 0 , 1 , 1 ) ;
var rgb:Number = HSV2RGBNumber( hsl ) ;
trace( rgb ) ; // 0xFF0000
| HSV2RGB | Constant |
public const HSV2RGB:FunctionReturns the RGB representation of the passed-in HSV color.
Example :
import graphics.colors.HSV ;
import graphics.colors.RGB ;
import graphics.colors.HSV2RGB ;
var hsv:HSV = new HSL( 0 , 1 , 1 ) ;
var rgb:RGB = HSV2RGB( hsv ) ;
trace( rgb ) ; // [RGB r:255 g:0 b:0 hex:0xFF0000]
| HUE2RGB | Constant |
public const HUE2RGB:FunctionConverts the hue values in rgb values.
| RGB2CMY | Constant |
public const RGB2CMY:FunctionReturns the CMY representation of the specified RGB object.
Example :
import graphics.colors.CMY ;
import graphics.colors.RGB ;
import graphics.colors.RGB2CMY ;
var rgb:RGB = new RGB( 255 , 0 , 0 ) ;
var cmy:CMY = RGB2CMY( rgb ) ;
trace( cmy ) ; // [CMY c:0 m:1 y:1]
| RGB2HSL | Constant |
public const RGB2HSL:FunctionReturns the HSL representation of the passed-in RGB parameter.
Example :
import graphics.colors.HSL ;
import graphics.colors.RGB ;
import graphics.colors.RBG2HSL ;
var rgb:RGB = new RGB(255,0,0) ;
var hsl:HSL = RGB2HSL( rgb ) ;
trace( hsl ) ; // [HSL h:0 s:1 l:0.5]
| RGB2HSV | Constant |
public const RGB2HSV:FunctionReturns the HSV representation of the passed-in RGB parameter.
Example :
import graphics.colors.HSV ;
import graphics.colors.RGB ;
import graphics.colors.RGB2HSV ;
var rgb:RGB = new RGB(255,0,0) ;
var hsv:HSV = RGB2HSV( rgb ) ;
trace( hsv ) ; // [HSV h:0 s:1 v:1]
| RGB2XYZ | Constant |
public const RGB2XYZ:FunctionTransform the specified RGB in this XYZ representation.
| RGB2YUV | Constant |
public const RGB2YUV:FunctionReturns the YUV representation of the passed-in RGB parameter.
Example :
import graphics.colors.RGB ;
import graphics.colors.RGB2YUV ;
import graphics.colors.YUV ;
var rgb:RGB = new RGB(255,0,0) ;
var yuv:YUV = RGB2YUV( rgb ) ;
trace( rgb ) ; // [RGB r:255 g:0 b:0 hex:0xFF0000]
trace( yuv ) ; // [YUV y:76.24499999999999 u:84.97232 v:255.5]
| XYZ2RGB | Constant |
public const XYZ2RGB:FunctionTransform the specified XYZ in this RGB representation (use Observer = 2°, Illuminant = D65).
| XYZ2Yxy | Constant |
public const XYZ2Yxy:FunctionTransform the specified XYZ in this Yxy representation (use Observer = 2°, Illuminant = D65).
| YUV2RGB | Constant |
public const YUV2RGB:FunctionReturns the RGB representation of the passed-in YUV parameter.
Example :
import graphics.colors.RGB ;
import graphics.colors.YUV ;
import graphics.colors.YUV2RGB ;
var yuv:YUV = new YUV(76.24499999999999,84.97232,255.5) ;
var rgb:RGB = YUV2RGB( yuv ) ;
trace( yuv ) ; // [YUV y:76.24499999999999 u:84.97232 v:255.5]
trace( rgb ) ; // [RGB r:255 g:0 b:0 hex:0xFF0000]
| Yxy2XYZ | Constant |
public const Yxy2XYZ:FunctionTransform the specified Yxy in this XYZ representation (use Observer = 2°, Illuminant = D65).