Package | Description |
---|---|
com.itextpdf.awt | |
com.itextpdf.text | |
com.itextpdf.text.html | |
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.codec.wmf | |
com.itextpdf.text.pdf.draw | |
com.itextpdf.text.pdf.parser |
Modifier and Type | Method | Description |
---|---|---|
static BaseColor |
PdfGraphics2D.prepareColor(Color color) |
Modifier and Type | Field | Description |
---|---|---|
protected BaseColor |
Rectangle.backgroundColor |
This is the color of the background of this rectangle.
|
static BaseColor |
BaseColor.BLACK |
|
static BaseColor |
BaseColor.BLUE |
|
protected BaseColor |
Rectangle.borderColor |
The color of the border of this rectangle.
|
protected BaseColor |
Rectangle.borderColorBottom |
The color of the bottom border of this rectangle.
|
protected BaseColor |
Rectangle.borderColorLeft |
The color of the left border of this rectangle.
|
protected BaseColor |
Rectangle.borderColorRight |
The color of the right border of this rectangle.
|
protected BaseColor |
Rectangle.borderColorTop |
The color of the top border of this rectangle.
|
static BaseColor |
BaseColor.CYAN |
|
static BaseColor |
BaseColor.DARK_GRAY |
|
static BaseColor |
BaseColor.GRAY |
|
static BaseColor |
BaseColor.GREEN |
|
static BaseColor |
BaseColor.LIGHT_GRAY |
|
static BaseColor |
BaseColor.MAGENTA |
|
static BaseColor |
BaseColor.ORANGE |
|
static BaseColor |
BaseColor.PINK |
|
static BaseColor |
BaseColor.RED |
|
static BaseColor |
BaseColor.WHITE |
|
static BaseColor |
BaseColor.YELLOW |
Modifier and Type | Method | Description |
---|---|---|
BaseColor |
BaseColor.brighter() |
Make this BaseColor brighter.
|
BaseColor |
BaseColor.darker() |
Make this color darker.
|
BaseColor |
Rectangle.getBackgroundColor() |
Gets the backgroundcolor.
|
BaseColor |
Rectangle.getBorderColor() |
Gets the color of the border.
|
BaseColor |
Rectangle.getBorderColorBottom() |
Gets the color of the bottom border.
|
BaseColor |
Rectangle.getBorderColorLeft() |
Gets the color of the left border.
|
BaseColor |
Rectangle.getBorderColorRight() |
Gets the color of the right border.
|
BaseColor |
Rectangle.getBorderColorTop() |
Gets the color of the top border.
|
BaseColor |
Font.getColor() |
Gets the color of this font.
|
Modifier and Type | Method | Description |
---|---|---|
static Font |
FontFactory.getFont(String fontname,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(String fontname,
float size,
BaseColor color) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color,
boolean cached) |
Constructs a
Font -object. |
static Font |
FontFactory.getFont(String fontname,
String encoding,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(String fontname,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(String fontname,
float size,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color,
boolean cached) |
Constructs a
Font -object. |
Font |
FontFactoryImp.getFont(String fontname,
String encoding,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Font |
FontProvider.getFont(String fontname,
String encoding,
boolean embedded,
float size,
int style,
BaseColor color) |
Constructs a
Font -object. |
Chunk |
Chunk.setBackground(BaseColor color) |
Sets the color of the background
Chunk . |
Chunk |
Chunk.setBackground(BaseColor color,
float extraLeft,
float extraBottom,
float extraRight,
float extraTop) |
Sets the color and the size of the background
Chunk . |
void |
Rectangle.setBackgroundColor(BaseColor backgroundColor) |
Sets the backgroundcolor of the rectangle.
|
void |
RectangleReadOnly.setBackgroundColor(BaseColor value) |
Sets the backgroundcolor of the rectangle.
|
void |
Rectangle.setBorderColor(BaseColor borderColor) |
Sets the color of the border.
|
void |
RectangleReadOnly.setBorderColor(BaseColor borderColor) |
Sets the color of the border.
|
void |
Rectangle.setBorderColorBottom(BaseColor borderColorBottom) |
Sets the color of the bottom border.
|
void |
RectangleReadOnly.setBorderColorBottom(BaseColor borderColorBottom) |
Sets the color of the bottom border.
|
void |
Rectangle.setBorderColorLeft(BaseColor borderColorLeft) |
Sets the color of the left border.
|
void |
RectangleReadOnly.setBorderColorLeft(BaseColor borderColorLeft) |
Sets the color of the left border.
|
void |
Rectangle.setBorderColorRight(BaseColor borderColorRight) |
Sets the color of the right border.
|
void |
RectangleReadOnly.setBorderColorRight(BaseColor borderColorRight) |
Sets the color of the right border
|
void |
Rectangle.setBorderColorTop(BaseColor borderColorTop) |
Sets the color of the top border.
|
void |
RectangleReadOnly.setBorderColorTop(BaseColor borderColorTop) |
Sets the color of the top border.
|
void |
Font.setColor(BaseColor color) |
Sets the color.
|
void |
ZapfDingbatsList.setDingbatColor(BaseColor zapfDingbatColor) |
Sets the dingbat's color.
|
Chunk |
Chunk.setTextRenderMode(int mode,
float strokeWidth,
BaseColor strokeColor) |
Sets the text rendering mode.
|
Chunk |
Chunk.setUnderline(BaseColor color,
float thickness,
float thicknessMul,
float yPosition,
float yPositionMul,
int cap) |
Sets an horizontal line that can be an underline or a strikethrough.
|
Constructor | Description |
---|---|
Font(Font.FontFamily family,
float size,
int style,
BaseColor color) |
Constructs a Font.
|
Font(BaseFont bf,
float size,
int style,
BaseColor color) |
Constructs a Font.
|
ZapfDingbatsList(int zn,
int symbolIndent,
BaseColor zapfDingbatColor) |
Creates a ZapfDingbatList with a colored symbol
|
Modifier and Type | Method | Description |
---|---|---|
static BaseColor |
HtmlUtilities.decodeColor(String s) |
Deprecated.
Converts a
BaseColor into a HTML representation of this
BaseColor . |
static BaseColor |
WebColors.getRGBColor(String name) |
Deprecated.
Gives you a BaseColor based on a name.
|
Modifier and Type | Method | Description |
---|---|---|
static String |
HtmlEncoder.encode(BaseColor color) |
Deprecated.
Converts a
BaseColor into a HTML representation of this BaseColor . |
Modifier and Type | Class | Description |
---|---|---|
class |
CMYKColor |
|
class |
DeviceNColor |
|
class |
ExtendedColor |
|
class |
GrayColor |
|
class |
LabColor |
|
class |
PatternColor |
Represents a pattern.
|
class |
ShadingColor |
Implements a shading pattern as a
Color . |
class |
SpotColor |
Modifier and Type | Field | Description |
---|---|---|
BaseColor |
PdfSpotColor.altcs |
The alternative color space
|
protected BaseColor |
BaseField.backgroundColor |
|
protected BaseColor |
BaseField.borderColor |
|
protected BaseColor |
PdfContentByte.GraphicState.colorFill |
|
protected BaseColor |
PdfContentByte.GraphicState.colorStroke |
|
protected BaseColor |
BaseField.textColor |
Modifier and Type | Method | Description |
---|---|---|
BaseColor |
PdfSpotColor.getAlternativeCS() |
Gets the alternative ColorSpace.
|
BaseColor |
BaseField.getBackgroundColor() |
Gets the background color.
|
BaseColor |
PdfDiv.getBackgroundColor() |
|
BaseColor |
BaseField.getBorderColor() |
Gets the border color.
|
BaseColor |
PdfOutline.getColor() |
Getter for property color.
|
BaseColor |
PdfShading.getColorSpace() |
|
BaseColor |
PdfPatternPainter.getDefaultColor() |
Returns the default color of the pattern.
|
BaseColor |
BaseField.getTextColor() |
Gets the text color.
|
BaseColor |
PdfLabColor.lab2Rgb(float l,
float a,
float b) |
|
BaseColor |
LabColor.toRgb() |
Modifier and Type | Method | Description |
---|---|---|
static void |
PdfShading.checkCompatibleColors(BaseColor c1,
BaseColor c2) |
|
Image |
Barcode.createImageWithBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Creates an
Image with the barcode. |
PdfPatternPainter |
PdfContentByte.createPattern(float width,
float height,
float xstep,
float ystep,
BaseColor color) |
Create a new uncolored tiling pattern.
|
PdfPatternPainter |
PdfContentByte.createPattern(float width,
float height,
BaseColor color) |
Create a new uncolored tiling pattern.
|
PdfTemplate |
Barcode.createTemplateWithBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Creates a template with the barcode.
|
static float[] |
PdfShading.getColorArray(BaseColor color) |
|
static PdfArray |
PdfAnnotation.getMKColor(BaseColor color) |
|
static int |
ExtendedColor.getType(BaseColor color) |
Gets the type of a given color.
|
abstract Rectangle |
Barcode.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
Rectangle |
Barcode128.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
Rectangle |
Barcode39.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
Rectangle |
BarcodeCodabar.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
Rectangle |
BarcodeEAN.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
Rectangle |
BarcodeEANSUPP.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
Rectangle |
BarcodeInter25.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
void |
BarcodePDF417.placeBarcode(PdfContentByte cb,
BaseColor foreground,
float moduleHeight,
float moduleWidth) |
|
Rectangle |
BarcodePostnet.placeBarcode(PdfContentByte cb,
BaseColor barColor,
BaseColor textColor) |
Places the barcode in a
PdfContentByte . |
void |
BarcodeQRCode.placeBarcode(PdfContentByte cb,
BaseColor foreground,
float moduleSide) |
|
LabColor |
PdfLabColor.rgb2lab(BaseColor baseColor) |
|
void |
BaseField.setBackgroundColor(BaseColor backgroundColor) |
Sets the background color.
|
void |
PdfDiv.setBackgroundColor(BaseColor backgroundColor) |
|
void |
BaseField.setBorderColor(BaseColor borderColor) |
Sets the border color.
|
void |
PdfAnnotation.setColor(BaseColor color) |
|
void |
PdfOutline.setColor(BaseColor color) |
Setter for property color.
|
void |
PdfContentByte.setColorFill(BaseColor color) |
Sets the fill color.
|
void |
PdfPatternPainter.setColorFill(BaseColor color) |
|
protected void |
PdfShading.setColorSpace(BaseColor color) |
|
void |
PdfContentByte.setColorStroke(BaseColor color) |
Sets the stroke color.
|
void |
PdfPatternPainter.setColorStroke(BaseColor color) |
|
void |
PdfAnnotation.setMKBackgroundColor(BaseColor color) |
|
void |
PdfAnnotation.setMKBorderColor(BaseColor color) |
|
void |
PdfContentByte.setPatternFill(PdfPatternPainter p,
BaseColor color) |
Sets the fill color to an uncolored pattern.
|
void |
PdfContentByte.setPatternFill(PdfPatternPainter p,
BaseColor color,
float tint) |
Sets the fill color to an uncolored pattern.
|
void |
PdfPatternPainter.setPatternFill(PdfPatternPainter p,
BaseColor color,
float tint) |
|
void |
PdfContentByte.setPatternStroke(PdfPatternPainter p,
BaseColor color) |
Sets the stroke color to an uncolored pattern.
|
void |
PdfContentByte.setPatternStroke(PdfPatternPainter p,
BaseColor color,
float tint) |
Sets the stroke color to an uncolored pattern.
|
void |
PdfPatternPainter.setPatternStroke(PdfPatternPainter p,
BaseColor color,
float tint) |
|
void |
BaseField.setTextColor(BaseColor textColor) |
Sets the text color.
|
static PdfShading |
PdfShading.simpleAxial(PdfWriter writer,
float x0,
float y0,
float x1,
float y1,
BaseColor startColor,
BaseColor endColor) |
|
static PdfShading |
PdfShading.simpleAxial(PdfWriter writer,
float x0,
float y0,
float x1,
float y1,
BaseColor startColor,
BaseColor endColor,
boolean extendStart,
boolean extendEnd) |
|
static PdfShading |
PdfShading.simpleRadial(PdfWriter writer,
float x0,
float y0,
float r0,
float x1,
float y1,
float r1,
BaseColor startColor,
BaseColor endColor) |
|
static PdfShading |
PdfShading.simpleRadial(PdfWriter writer,
float x0,
float y0,
float r0,
float x1,
float y1,
float r1,
BaseColor startColor,
BaseColor endColor,
boolean extendStart,
boolean extendEnd) |
|
static PdfShading |
PdfShading.type1(PdfWriter writer,
BaseColor colorSpace,
float[] domain,
float[] tMatrix,
PdfFunction function) |
|
static PdfShading |
PdfShading.type2(PdfWriter writer,
BaseColor colorSpace,
float[] coords,
float[] domain,
PdfFunction function,
boolean[] extend) |
|
static PdfShading |
PdfShading.type3(PdfWriter writer,
BaseColor colorSpace,
float[] coords,
float[] domain,
PdfFunction function,
boolean[] extend) |
Constructor | Description |
---|---|
PdfSpotColor(String name,
BaseColor altcs) |
Constructs a new
PdfSpotColor . |
Modifier and Type | Field | Description |
---|---|---|
BaseColor |
MetaState.currentBackgroundColor |
|
BaseColor |
MetaState.currentTextColor |
Modifier and Type | Method | Description |
---|---|---|
BaseColor |
MetaBrush.getColor() |
|
BaseColor |
MetaPen.getColor() |
|
BaseColor |
MetaState.getCurrentBackgroundColor() |
Getter for property currentBackgroundColor.
|
BaseColor |
MetaState.getCurrentTextColor() |
Getter for property currentTextColor.
|
BaseColor |
InputMeta.readColor() |
Modifier and Type | Method | Description |
---|---|---|
void |
MetaState.setCurrentBackgroundColor(BaseColor currentBackgroundColor) |
Setter for property currentBackgroundColor.
|
void |
MetaState.setCurrentTextColor(BaseColor currentTextColor) |
Setter for property currentTextColor.
|
Modifier and Type | Field | Description |
---|---|---|
protected BaseColor |
LineSeparator.lineColor |
The color of the line.
|
Modifier and Type | Method | Description |
---|---|---|
BaseColor |
LineSeparator.getLineColor() |
Getter for the color of the line that will be drawn.
|
Modifier and Type | Method | Description |
---|---|---|
void |
LineSeparator.setLineColor(BaseColor color) |
Setter for the color of the line that will be drawn.
|
Constructor | Description |
---|---|
LineSeparator(float lineWidth,
float percentage,
BaseColor lineColor,
int align,
float offset) |
Creates a new instance of the LineSeparator class.
|
Modifier and Type | Method | Description |
---|---|---|
BaseColor |
GraphicsState.getFillColor() |
Gets the current fill color
|
BaseColor |
TextRenderInfo.getFillColor() |
|
BaseColor |
GraphicsState.getStrokeColor() |
Gets the current stroke color
|
BaseColor |
TextRenderInfo.getStrokeColor() |
Copyright © 2018. All rights reserved.