| 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 |
DeviceRgb.BLACK
Predefined black DeviceRgb color
|
static Color |
ColorConstants.BLACK
Predefined black DeviceRgb color
|
static Color |
DeviceRgb.BLUE
Predefined blue DeviceRgb color
|
static Color |
ColorConstants.BLUE
Predefined blue DeviceRgb color
|
static Color |
ColorConstants.CYAN
Predefined cyan DeviceRgb color
|
static Color |
ColorConstants.DARK_GRAY
Predefined dark gray DeviceRgb color
|
static Color |
ColorConstants.GRAY
Predefined gray DeviceRgb color
|
static Color |
DeviceRgb.GREEN
Predefined green DeviceRgb color
|
static Color |
ColorConstants.GREEN
Predefined green DeviceRgb color
|
static Color |
ColorConstants.LIGHT_GRAY
Predefined light gray DeviceRgb color
|
static Color |
ColorConstants.MAGENTA
Predefined magenta DeviceRgb color
|
static Color |
ColorConstants.ORANGE
Predefined orange DeviceRgb color
|
static Color |
ColorConstants.PINK
Predefined pink DeviceRgb color
|
static Color |
DeviceRgb.RED
Predefined red DeviceRgb color
|
static Color |
ColorConstants.RED
Predefined red DeviceRgb color
|
static Color |
DeviceRgb.WHITE
Predefined white DeviceRgb color
|
static Color |
ColorConstants.WHITE
Predefined white DeviceRgb color
|
static Color |
ColorConstants.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 |
PdfCircleAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's ellipse.
|
Color |
PdfSquareAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's rectangle.
|
Color |
PdfRedactAnnotation.getInteriorColor()
The interior color which is used to fill the redacted region after the affected content has been removed.
|
Color |
PdfPolyGeomAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.
|
Color |
PdfLineAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.
|
| 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 |
SolidLine.getColor() |
Color |
ILineDrawer.getColor()
Gets the color of the line
|
Color |
DottedLine.getColor() |
Color |
DashedLine.getColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
SolidLine.setColor(Color color) |
void |
ILineDrawer.setColor(Color color)
Sets line 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–2019 iText Group NV. All rights reserved.