Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished constants group ColorComponentTag
Usage Restrictions
not published
Description
A collection of tags for the individual components of a color.

Color components usually corrspond to physical attributes like the amount of red colorant contained in an output color. This constant field enumerates the most common ones.

Since
OOo 2.3

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 Arbitray 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
Arbitray 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.