Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
Colors
Color(r,g,b) 
 
Generates a CDATA value which has the specified color and level 255 alpha. 
AColor(a,r,g,b) 
 
Generates a CDATA value which has the specified color and level specified level of alpha. 
SetAlpha(rgb, a) 
 
Retains the color info portion of CDATA and replaces the alpha value. 
RedVal(color) 
 
Fetches the red byte value of CDATA 
BlueVal(color) 
 
Fetches the blue byte value of CDATA 
GreenVal(color) 
 
Fetches the green byte value of CDATA 
AlphaVal(color) 
 
Fetches the alpha byte value of CDATA 
BASE_COLOR_BLACK 
Color( 0,0,0 ) 
A color 
BASE_COLOR_BLUE 
Color( 0, 0, 128 ) 
A color 
BASE_COLOR_GREEN 
Color( 0, 128, 0 ) 
A color 
BASE_COLOR_CYAN 
Color( 0, 128, 128 ) 
A color 
BASE_COLOR_RED 
Color( 192, 32, 32 ) 
A color 
BASE_COLOR_BROWN 
Color( 140, 0, 140 ) 
A color 
BASE_COLOR_MAGENTA 
Color( 160, 160, 0 ) 
A color 
BASE_COLOR_LIGHTGREY 
Color( 192, 192, 192 ) 
A color 
BASE_COLOR_DARKGREY 
Color( 128, 128, 128 ) 
A color 
BASE_COLOR_LIGHTBLUE 
Color( 0, 0, 255 ) 
A color 
BASE_COLOR_LIGHTGREEN 
Color( 0, 255, 0 ) 
A color 
BASE_COLOR_LIGHTCYAN 
Color( 0, 255, 255 ) 
A color 
BASE_COLOR_LIGHTRED 
Color( 255, 0, 0 ) 
A color 
BASE_COLOR_LIGHTMAGENTA 
Color( 255, 0, 255 ) 
A color 
BASE_COLOR_YELLOW 
Color( 255, 255, 0 ) 
A color 
BASE_COLOR_WHITE 
Color( 255, 255, 255 ) 
A color 

Color(r,g,b)Generates a CDATA value which has the specified color and level 255 alpha.
AColor(a,r,g,b)Generates a CDATA value which has the specified color and level specified level of alpha.
SetAlpha(rgb, a)Retains the color info portion of CDATA and replaces the alpha value.
RedVal(color)Fetches the red byte value of CDATA
BlueVal(color)Fetches the blue byte value of CDATA
GreenVal(color)Fetches the green byte value of CDATA
AlphaVal(color)Fetches the alpha byte value of CDATA
BASE_COLOR_BLACK Color( 0,0,0 )A color
BASE_COLOR_BLUE Color( 0, 0, 128 )A color
BASE_COLOR_GREEN Color( 0, 128, 0 )A color
BASE_COLOR_CYAN Color( 0, 128, 128 )A color
BASE_COLOR_RED Color( 192, 32, 32 )A color
BASE_COLOR_BROWN Color( 140, 0, 140 )A color
BASE_COLOR_MAGENTA Color( 160, 160, 0 )A color
BASE_COLOR_LIGHTGREY Color( 192, 192, 192 )A color
BASE_COLOR_DARKGREY Color( 128, 128, 128 )A color
BASE_COLOR_LIGHTBLUE Color( 0, 0, 255 )A color
BASE_COLOR_LIGHTGREEN Color( 0, 255, 0 )A color
BASE_COLOR_LIGHTCYAN Color( 0, 255, 255 )A color
BASE_COLOR_LIGHTRED Color( 255, 0, 0 )A color
BASE_COLOR_LIGHTMAGENTA Color( 255, 0, 255 )A color
BASE_COLOR_YELLOW Color( 255, 255, 0 )A color
BASE_COLOR_WHITE Color( 255, 255, 255 )A color

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!