| Modifier and Type | Class and Description |
|---|---|
class |
CalGray |
class |
CalRgb |
class |
DeviceCmyk
Color space to specify colors according to CMYK color model.
|
class |
DeviceGray
Color space to specify shades of gray color.
|
class |
DeviceN |
class |
DeviceRgb
Color space to specify colors according to RGB color model.
|
class |
IccBased |
class |
Indexed |
class |
Lab |
class |
PatternColor |
class |
Separation |
| Modifier and Type | Field and Description |
|---|---|
static Color |
Color.BLACK
Predefined black DeviceRgb color
|
static Color |
Color.BLUE
Predefined blue DeviceRgb color
|
static Color |
Color.CYAN
Predefined cyan DeviceRgb color
|
static Color |
Color.DARK_GRAY
Predefined dark gray DeviceRgb color
|
static Color |
Color.GRAY
Predefined gray DeviceRgb color
|
static Color |
Color.GREEN
Predefined green DeviceRgb color
|
static Color |
Color.LIGHT_GRAY
Predefined light gray DeviceRgb color
|
static Color |
Color.MAGENTA
Predefined magenta DeviceRgb color
|
static Color |
Color.ORANGE
Predefined orange DeviceRgb color
|
static Color |
Color.PINK
Predefined pink DeviceRgb color
|
static Color |
Color.RED
Predefined red DeviceRgb color
|
static Color |
Color.WHITE
Predefined white DeviceRgb color
|
static Color |
Color.YELLOW
Predefined yellow DeviceRgb color
|
| Modifier and Type | Method and Description |
|---|---|
static Color |
Color.makeColor(PdfColorSpace colorSpace)
Makes a Color of certain color space.
|
static Color |
Color.makeColor(PdfColorSpace colorSpace,
float[] colorValue)
Makes a Color of certain color space and color value.
|
| Constructor and Description |
|---|
PatternColor(PdfPattern.Tiling uncoloredPattern,
Color color) |
| Modifier and Type | Method and Description |
|---|---|
void |
PdfOutline.setColor(Color color)
Sets color for the outline entry’s text,
C key. |
| Modifier and Type | Method and Description |
|---|---|
Color |
PdfMarkupAnnotation.getInteriorColor()
The interior color which is used to fill areas specific for different types of annotation.
|
| Modifier and Type | Method and Description |
|---|---|
PdfAnnotation |
PdfAnnotation.setColor(Color color)
Sets an annotation color.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
CanvasGraphicsState.getFillColor() |
Color |
CanvasGraphicsState.getStrokeColor() |
| Modifier and Type | Method and Description |
|---|---|
PdfCanvas |
PdfCanvas.setColor(Color color,
boolean fill)
Changes the current color for paths.
|
PdfCanvas |
PdfCanvas.setFillColor(Color color)
Changes the current color for filling paths.
|
void |
CanvasGraphicsState.setFillColor(Color fillColor) |
PdfCanvas |
PdfCanvas.setStrokeColor(Color color)
Changes the current color for stroking paths.
|
void |
CanvasGraphicsState.setStrokeColor(Color strokeColor) |
| Modifier and Type | Method and Description |
|---|---|
Color |
ILineDrawer.getColor()
Gets the color of the line
|
Color |
SolidLine.getColor() |
Color |
DottedLine.getColor() |
Color |
DashedLine.getColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
ILineDrawer.setColor(Color color)
Sets line color
|
void |
SolidLine.setColor(Color color) |
void |
DottedLine.setColor(Color color) |
void |
DashedLine.setColor(Color color) |
| Modifier and Type | Method and Description |
|---|---|
Color |
TextRenderInfo.getFillColor() |
Color |
PathRenderInfo.getFillColor() |
Color |
TextRenderInfo.getStrokeColor() |
Color |
PathRenderInfo.getStrokeColor() |
| Modifier and Type | Field and Description |
|---|---|
Color |
MetaState.currentBackgroundColor
The current background color.
|
Color |
MetaState.currentTextColor
Current text color.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
MetaPen.getColor()
Get the color of the MetaPen.
|
Color |
MetaBrush.getColor()
Get the color of the MetaBrush.
|
Color |
MetaState.getCurrentBackgroundColor()
Getter for property currentBackgroundColor.
|
Color |
MetaState.getCurrentTextColor()
Getter for property currentTextColor.
|
Color |
InputMeta.readColor()
Read the next
Color from the InputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetaState.setCurrentBackgroundColor(Color currentBackgroundColor)
Setter for property currentBackgroundColor.
|
void |
MetaState.setCurrentTextColor(Color currentTextColor)
Setter for property currentTextColor.
|
Copyright © 1998–2017 iText Group NV. All rights reserved.