Modifier and Type | Method and Description |
---|---|
PdfFormXObject |
Barcode1D.createFormXObject(Color barColor, Color textColor, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodePDF417.createFormXObject(Color foreground, float moduleWidth, float moduleHeight, PdfDocument document)
Creates a PdfFormXObject with the barcode with given module width and module height.
|
PdfFormXObject |
BarcodeQRCode.createFormXObject(Color foreground, float moduleSize, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodeDataMatrix.createFormXObject(Color foreground, float moduleSide, PdfDocument document)
Creates a PdfFormXObject with the barcode with given module width and module height.
|
PdfFormXObject |
BarcodeQRCode.createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodePDF417.createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodeDataMatrix.createFormXObject(Color foreground, PdfDocument document) |
abstract PdfFormXObject |
Barcode2D.createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground) |
abstract Rectangle |
Barcode2D.placeBarcode(PdfCanvas canvas, Color foreground)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePostnet.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor) |
Rectangle |
BarcodeInter25.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEANSUPP.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEAN.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeCodabar.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
Barcode39.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
abstract Rectangle |
Barcode1D.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
Barcode128.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)
* Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) |
Modifier and Type | Field and Description |
---|---|
protected Color |
PdfFormField.backgroundColor |
protected Color |
PdfFormField.borderColor |
protected Color |
PdfFormField.color |
Modifier and Type | Method and Description |
---|---|
protected String |
PdfFormField.generateDefaultAppearanceString(PdfFont font, float fontSize, Color color, PdfResources res) |
PdfFormField |
PdfFormField.setBackgroundColor(Color backgroundColor)
Basic setter for the backgroundColor property.
|
PdfFormField |
PdfFormField.setBorderColor(Color color)
Sets the Border Color.
|
PdfFormField |
PdfFormField.setColor(Color color)
Sets the text color.
|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
Color |
ElementPropertyContainer.getStrokeColor()
Gets the stroke color for the current element.
|
Modifier and Type | Method and Description |
---|---|
T |
ElementPropertyContainer.setBackgroundColor(Color backgroundColor)
Specifies a background color for the Element.
|
T |
ElementPropertyContainer.setBackgroundColor(Color backgroundColor, float opacity)
Specifies a background color for the Element.
|
T |
ElementPropertyContainer.setBackgroundColor(Color backgroundColor, float extraLeft, float extraTop, float extraRight, float extraBottom)
Specifies a background color for the Element, and extra space that must be counted as part of the background and therefore colored.
|
T |
ElementPropertyContainer.setBackgroundColor(Color backgroundColor, float opacity, float extraLeft, float extraTop, float extraRight, float extraBottom)
Specifies a background color for the Element, and extra space that must be counted as part of the background and therefore colored.
|
T |
ElementPropertyContainer.setFontColor(Color fontColor)
Sets the font color of this Element.
|
T |
ElementPropertyContainer.setFontColor(Color fontColor, float opacity)
Sets the font color of this Element and the opacity of the text.
|
T |
ElementPropertyContainer.setStrokeColor(Color strokeColor)
Sets the stroke color for the current element.
|
T |
ElementPropertyContainer.setUnderline(Color color, float opacity, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle)
Sets an horizontal line that can be an underline or a strikethrough.
|
T |
ElementPropertyContainer.setUnderline(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle)
Sets an horizontal line that can be an underline or a strikethrough.
|
Modifier and Type | Field and Description |
---|---|
protected Color |
Border.color
Deprecated.
use
Border.transparentColor instead
|
Modifier and Type | Method and Description |
---|---|
Color |
Border.getColor()
|
protected Color |
Border3D.getDarkerColor()
Makes the Border.transparentColor color of the border darker and returns the result
|
Modifier and Type | Method and Description |
---|---|
void |
Border.setColor(Color color)
|
Constructor and Description |
---|
Border(Color color, float width)
|
Border(Color color, float width, float opacity)
|
DashedBorder(Color color, float width)
Creates a DashedBorder with the specified width and the specified color.
|
DashedBorder(Color color, float width, float opacity)
Creates a DashedBorder with the specified width, color and opacity.
|
DottedBorder(Color color, float width)
Creates a DottedBorder instance with the specified width and color.
|
DottedBorder(Color color, float width, float opacity)
Creates a DottedBorder with the specified width, color and opacity.
|
DoubleBorder(Color color, float width)
Creates a DoubleBorder with the specified width for both the two borders as the space in between them and the specified color for the two borders.
|
DoubleBorder(Color color, float width, float opacity)
Creates a DoubleBorder with the specified width for both the two borders as the space in between them and the specified color for the two borders.
|
RoundDotsBorder(Color color, float width)
Creates a RoundDotsBorder with the specified wit?dth and the specified color.
|
RoundDotsBorder(Color color, float width, float opacity)
Creates a RoundDotsBorder with the specified width, color and opacity.
|
SolidBorder(Color color, float width)
Creates a SolidBorder with the specified width and the specified color.
|
SolidBorder(Color color, float width, float opacity)
Creates a SolidBorder with the specified width, color and opacity.
|
Modifier and Type | Field and Description |
---|---|
protected Color |
Underline.color
Deprecated.
|
protected Color |
Background.color
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Color |
Underline.getColor()
Gets the color of the underline.
|
Color |
TransparentColor.getColor() |
Color |
Background.getColor()
Gets the background's color.
|
Constructor and Description |
---|
Background(Color color)
Creates a background with a specified color.
|
Background(Color color, float opacity)
Creates a background with a specified color and opacity.
|
Background(Color color, float extraLeft, float extraTop, float extraRight, float extraBottom)
Creates a background with a specified color, and extra space that must be counted as part of the background and therefore colored.
|
Background(Color color, float opacity, float extraLeft, float extraTop, float extraRight, float extraBottom)
Creates a background with a specified color, and extra space that must be counted as part of the background and therefore colored.
|
TransparentColor(Color color) |
TransparentColor(Color color, float opacity) |
Underline(Color color, float opacity, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle)
Creates an Underline.
|
Underline(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle)
Creates an Underline.
|
Modifier and Type | Method and Description |
---|---|
Color |
AbstractRenderer.getPropertyAsColor(int property)
Returns a property with a certain key, as a color.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TextRenderer.drawSingleUnderline(Underline underline, Color fontStrokeColor, PdfCanvas canvas, float fontSize, float italicAngleTan)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PdfAChecker.checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill)
This method checks compliance with the color restrictions imposed by the available color spaces in the document.
|
void |
PdfA2Checker.checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill) |
void |
PdfA1Checker.checkColor(Color color, PdfDictionary currentColorSpaces, Boolean fill) |
Copyright © 1998–2017 iText Group NV. All rights reserved.