| Modifier and Type | Class and Description |
|---|---|
class |
CalGray
Representation of a CalGray color space.
|
class |
CalRgb
Representation of a CalRgb color space.
|
class |
DeviceCmyk
Color space to specify colors according to CMYK color model.
|
class |
DeviceGray
Color space to specify shades of gray color.
|
class |
DeviceN
Representation of a DeviceN color space.
|
class |
DeviceRgb
Color space to specify colors according to RGB color model.
|
class |
IccBased
Representation on an ICC Based color space.
|
class |
Indexed
Representation of an indexed color space.
|
class |
Lab
Representation of a lab color space.
|
class |
PatternColor
Representation of a Pattern Color.
|
class |
Separation
Representation of a separation color space.
|
| 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.createColorWithColorSpace(float[] colorValue)
Creates a color object based on the passed through values.
|
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)
Creates a pattern color using the given uncolored pattern object and color.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
AbstractLinearGradientBuilder.buildColor(Rectangle targetBoundingBox,
AffineTransform contextTransform,
PdfDocument document)
Builds the
Color object representing the linear gradient with specified configuration
that fills the target bounding box. |
| Modifier and Type | Method and Description |
|---|---|
Color |
PdfOutline.getColor()
Gets color for the outline entry's text,
C key. |
| 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 |
PdfPolyGeomAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.
|
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 |
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()
Gets the current fill color.
|
Color |
CanvasGraphicsState.getStrokeColor()
Gets the current stroke color.
|
| 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)
Sets the current fill
color. |
PdfCanvas |
PdfCanvas.setStrokeColor(Color color)
Changes the current color for stroking paths.
|
void |
CanvasGraphicsState.setStrokeColor(Color strokeColor)
Sets the current stroke
color. |
| Modifier and Type | Method and Description |
|---|---|
Color |
DashedLine.getColor() |
Color |
DottedLine.getColor() |
Color |
ILineDrawer.getColor()
Gets the color of the line
|
Color |
SolidLine.getColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
DashedLine.setColor(Color color) |
void |
DottedLine.setColor(Color color) |
void |
ILineDrawer.setColor(Color color)
Sets line color
|
void |
SolidLine.setColor(Color color) |
| Modifier and Type | Method and Description |
|---|---|
Color |
TextRenderInfo.getFillColor() |
Color |
PathRenderInfo.getFillColor()
Gets the path's fill color.
|
Color |
TextRenderInfo.getStrokeColor() |
Color |
PathRenderInfo.getStrokeColor()
Gets the path's stroke color.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
MetaBrush.getColor()
Get the color of the MetaBrush.
|
Color |
MetaPen.getColor()
Get the color of the MetaPen.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Color |
AbstractTextMarkupAnnotationFlattener.getColor(PdfAnnotation annotation) |
Copyright © 1998–2025 Apryse Group NV. All rights reserved.