:: com :: sun :: star :: rendering ::

constants group ColorComponentTag

Constants
DEVICE Unspecified device color value 
RGB_RED Red colorant from RGB color space 
RGB_GREEN Green colorant from RGB color space 
RGB_BLUE Blue colorant from RGB color space 
CMYK_CYAN Cyan colorant from CMYK color space 
CMYK_MAGENTA Magenta colorant from CMYK color space 
CMYK_YELLOW Yellow colorant from CMYK color space 
CMYK_BLACK Black colorant from CMYK color space 
CMYKOG_ORANGE Orange colorant from hexachrome color space 
CMYKOG_GREEN Green colorant from hexachrome color space 
SPOT Arbitrary extra spot color, e.g. Pantone 
INDEX Index into palette 
ALPHA Alpha channel 
GREY Grey value. Used for monochrome color spaces 
PREMULTIPLIED_ALPHA Premultiplied alpha channel 
CIEXYZ_X CieXYZ X value 
CIEXYZ_Y CieXYZ Y value 
CIEXYZ_Z CieXYZ Z value 
CIELAB_L CieLab L value 
CIELAB_A CieLab a value 
CIELAB_B CieLab b value 
HSV_H HSV H value 
HSV_S HSV S value 
HSV_V HSV V value 
HSL_H HSL H value 
HSL_S HSL S value 
HSL_L HSL L value 
YCBCR_Y YCbCr Y value 
YCBCR_CB YCbCr Cb value 
YCBCR_CR YCbCr Cr value 
Constants' Details
DEVICE
const byte DEVICE =0;
Description
Unspecified device color value
RGB_RED
const byte RGB_RED =1;
Description
Red colorant from RGB color space
RGB_GREEN
const byte RGB_GREEN =2;
Description
Green colorant from RGB color space
RGB_BLUE
const byte RGB_BLUE =3;
Description
Blue colorant from RGB color space
CMYK_CYAN
const byte CMYK_CYAN =4;
Description
Cyan colorant from CMYK color space
CMYK_MAGENTA
const byte CMYK_MAGENTA =5;
Description
Magenta colorant from CMYK color space
CMYK_YELLOW
const byte CMYK_YELLOW =6;
Description
Yellow colorant from CMYK color space
CMYK_BLACK
const byte CMYK_BLACK =7;
Description
Black colorant from CMYK color space
CMYKOG_ORANGE
const byte CMYKOG_ORANGE =8;
Description
Orange colorant from hexachrome color space
CMYKOG_GREEN
const byte CMYKOG_GREEN =9;
Description
Green colorant from hexachrome color space
SPOT
const byte SPOT =10;
Description
Arbitrary extra spot color, e.g. Pantone
INDEX
const byte INDEX =11;
Description
Index into palette
ALPHA
const byte ALPHA =12;
Description
Alpha channel
GREY
const byte GREY =13;
Description
Grey value. Used for monochrome color spaces
PREMULTIPLIED_ALPHA
const byte PREMULTIPLIED_ALPHA =14;
Description
Premultiplied alpha channel

Note that this alpha format actually influences the other color components, in that their values are pre-multiplied with the alpha value.

CIEXYZ_X
const byte CIEXYZ_X =15;
Description
CieXYZ X value
CIEXYZ_Y
const byte CIEXYZ_Y =16;
Description
CieXYZ Y value
CIEXYZ_Z
const byte CIEXYZ_Z =17;
Description
CieXYZ Z value
CIELAB_L
const byte CIELAB_L =18;
Description
CieLab L value
CIELAB_A
const byte CIELAB_A =19;
Description
CieLab a value
CIELAB_B
const byte CIELAB_B =20;
Description
CieLab b value
HSV_H
const byte HSV_H =21;
Description
HSV H value
HSV_S
const byte HSV_S =22;
Description
HSV S value
HSV_V
const byte HSV_V =23;
Description
HSV V value
HSL_H
const byte HSL_H =24;
Description
HSL H value
HSL_S
const byte HSL_S =25;
Description
HSL S value
HSL_L
const byte HSL_L =26;
Description
HSL L value
YCBCR_Y
const byte YCBCR_Y =27;
Description
YCbCr Y value
YCBCR_CB
const byte YCBCR_CB =28;
Description
YCbCr Cb value
YCBCR_CR
const byte YCBCR_CR =29;
Description
YCbCr Cr value
Top of Page