public class ColorConstants extends Object
DeviceRgb
colors. Color space specific classes should be used for the advanced handling of colors. The most common ones are DeviceGray
, DeviceCmyk
and DeviceRgb
.
Modifier and Type | Field and Description |
---|---|
static Color |
BLACK
Predefined black DeviceRgb color
|
static Color |
BLUE
Predefined blue DeviceRgb color
|
static Color |
CYAN
Predefined cyan DeviceRgb color
|
static Color |
DARK_GRAY
Predefined dark gray DeviceRgb color
|
static Color |
GRAY
Predefined gray DeviceRgb color
|
static Color |
GREEN
Predefined green DeviceRgb color
|
static Color |
LIGHT_GRAY
Predefined light gray DeviceRgb color
|
static Color |
MAGENTA
Predefined magenta DeviceRgb color
|
static Color |
ORANGE
Predefined orange DeviceRgb color
|
static Color |
PINK
Predefined pink DeviceRgb color
|
static Color |
RED
Predefined red DeviceRgb color
|
static Color |
WHITE
Predefined white DeviceRgb color
|
static Color |
YELLOW
Predefined yellow DeviceRgb color
|
Constructor and Description |
---|
ColorConstants() |
public static final Color BLACK
public static final Color BLUE
public static final Color CYAN
public static final Color DARK_GRAY
public static final Color GRAY
public static final Color GREEN
public static final Color LIGHT_GRAY
public static final Color MAGENTA
public static final Color ORANGE
public static final Color PINK
public static final Color RED
public static final Color WHITE
public static final Color YELLOW
Copyright © 1998–2023 iText Group NV. All rights reserved.