| 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 | |
| com.itextpdf.text.pdf.pdfcleanup | |
| com.itextpdf.tool.xml |  
          
           XMLWorker package provides a framework to parse XML to PDF with iText. 
            |  
       
| com.itextpdf.tool.xml.html.table |  
          
           TagProcessor implementations for   table tags. 
          |  
       
| Modifier and Type | Method and Description | 
|---|---|
static BaseColor |  
          PdfGraphics2D.prepareColor(Color color)  |  
         
| Modifier and Type | Field and 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 and 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 and Description | 
|---|---|
Font |  
          FontFactoryImp.getFont(String fontname, float size, BaseColor color) 
           
             Constructs a   Font-object. 
            |  
         
static Font |  
          FontFactory.getFont(String fontname, float size, BaseColor color) 
           
             Constructs a   Font-object. 
            |  
         
Font |  
          FontFactoryImp.getFont(String fontname, float size, int style, BaseColor color) 
           
             Constructs a   Font-object. 
            |  
         
static Font |  
          FontFactory.getFont(String fontname, 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. 
            |  
         
Font |  
          FontFactoryImp.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) 
           
             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. 
            |  
         
static Font |  
          FontFactory.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. 
            |  
         
static Font |  
          FontFactory.getFont(String fontname, String encoding, 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 |  
          RectangleReadOnly.setBackgroundColor(BaseColor value) 
           
             Sets the backgroundcolor of the rectangle. 
              |  
         
void |  
          Rectangle.setBackgroundColor(BaseColor backgroundColor) 
           
             Sets the backgroundcolor of the rectangle. 
              |  
         
void |  
          RectangleReadOnly.setBorderColor(BaseColor borderColor) 
           
             Sets the color of the border. 
              |  
         
void |  
          Rectangle.setBorderColor(BaseColor borderColor) 
           
             Sets the color of the border. 
              |  
         
void |  
          RectangleReadOnly.setBorderColorBottom(BaseColor borderColorBottom) 
           
             Sets the color of the bottom border. 
              |  
         
void |  
          Rectangle.setBorderColorBottom(BaseColor borderColorBottom) 
           
             Sets the color of the bottom border. 
              |  
         
void |  
          RectangleReadOnly.setBorderColorLeft(BaseColor borderColorLeft) 
           
             Sets the color of the left border. 
              |  
         
void |  
          Rectangle.setBorderColorLeft(BaseColor borderColorLeft) 
           
             Sets the color of the left border. 
              |  
         
void |  
          RectangleReadOnly.setBorderColorRight(BaseColor borderColorRight) 
           
             Sets the color of the right border 
              |  
         
void |  
          Rectangle.setBorderColorRight(BaseColor borderColorRight) 
           
             Sets the color of the right border. 
              |  
         
void |  
          RectangleReadOnly.setBorderColorTop(BaseColor borderColorTop) 
           
             Sets the color of the top border. 
              |  
         
void |  
          Rectangle.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 and Description | 
|---|
Font(BaseFont bf, float size, int style, BaseColor color) 
           
             Constructs a Font. 
              |  
         
Font(Font.FontFamily family, 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 and 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 and Description | 
|---|---|
static String |  
          HtmlEncoder.encode(BaseColor color) 
            Deprecated.  
             
           
             Converts a   BaseColor into a HTML representation of this BaseColor. 
            |  
         
| Modifier and Type | Class and 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 and 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 and Description | 
|---|---|
BaseColor |  
          PdfSpotColor.getAlternativeCS() 
           
             Gets the alternative ColorSpace. 
              |  
         
BaseColor |  
          PdfDiv.getBackgroundColor()  |  
         
BaseColor |  
          BaseField.getBackgroundColor() 
           
             Gets the background color. 
              |  
         
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 and 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, BaseColor color) 
           
             Create a new uncolored tiling pattern. 
              |  
         
PdfPatternPainter |  
          PdfContentByte.createPattern(float width, float height, float xstep, float ystep, 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. 
              |  
         
Rectangle |  
          BarcodePostnet.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. 
            |  
         
Rectangle |  
          BarcodeEANSUPP.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 |  
          BarcodeCodabar.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 |  
          Barcode128.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) 
           
             Places the barcode in a   PdfContentByte. 
            |  
         
abstract Rectangle |  
          Barcode.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) 
           
             Places the barcode in a   PdfContentByte. 
            |  
         
void |  
          BarcodeQRCode.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleSide)  |  
         
void |  
          BarcodePDF417.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)  |  
         
void |  
          BarcodeDatamatrix.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)  |  
         
LabColor |  
          PdfLabColor.rgb2lab(BaseColor baseColor)  |  
         
void |  
          PdfDiv.setBackgroundColor(BaseColor backgroundColor)  |  
         
void |  
          BaseField.setBackgroundColor(BaseColor backgroundColor) 
           
             Sets the background color. 
              |  
         
void |  
          BaseField.setBorderColor(BaseColor borderColor) 
           
             Sets the border color. 
              |  
         
void |  
          PdfOutline.setColor(BaseColor color) 
           
             Setter for property color. 
              |  
         
void |  
          PdfAnnotation.setColor(BaseColor color)  |  
         
void |  
          PdfPatternPainter.setColorFill(BaseColor color)  |  
         
void |  
          PdfContentByte.setColorFill(BaseColor color) 
           
             Sets the fill color. 
              |  
         
protected void |  
          PdfShading.setColorSpace(BaseColor color)  |  
         
void |  
          PdfPatternPainter.setColorStroke(BaseColor color)  |  
         
void |  
          PdfContentByte.setColorStroke(BaseColor color) 
           
             Sets the stroke 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 |  
          PdfPatternPainter.setPatternFill(PdfPatternPainter p, BaseColor color, float tint)  |  
         
void |  
          PdfContentByte.setPatternFill(PdfPatternPainter p, BaseColor color, float tint) 
           
             Sets the fill color to an uncolored pattern. 
              |  
         
void |  
          PdfContentByte.setPatternStroke(PdfPatternPainter p, BaseColor color) 
           
             Sets the stroke color to an uncolored pattern. 
              |  
         
void |  
          PdfPatternPainter.setPatternStroke(PdfPatternPainter p, BaseColor color, float tint)  |  
         
void |  
          PdfContentByte.setPatternStroke(PdfPatternPainter p, BaseColor color, float tint) 
           
             Sets the stroke color to an uncolored pattern. 
              |  
         
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 and Description | 
|---|
PdfSpotColor(String name, BaseColor altcs) 
           
             Constructs a new   PdfSpotColor. 
            |  
         
| Modifier and Type | Field and Description | 
|---|---|
BaseColor |  
          MetaState.currentBackgroundColor  |  
         
BaseColor |  
          MetaState.currentTextColor  |  
         
| Modifier and Type | Method and Description | 
|---|---|
BaseColor |  
          MetaPen.getColor()  |  
         
BaseColor |  
          MetaBrush.getColor()  |  
         
BaseColor |  
          MetaState.getCurrentBackgroundColor() 
           
             Getter for property currentBackgroundColor. 
              |  
         
BaseColor |  
          MetaState.getCurrentTextColor() 
           
             Getter for property currentTextColor. 
              |  
         
BaseColor |  
          InputMeta.readColor()  |  
         
| Modifier and Type | Method and Description | 
|---|---|
void |  
          MetaState.setCurrentBackgroundColor(BaseColor currentBackgroundColor) 
           
             Setter for property currentBackgroundColor. 
              |  
         
void |  
          MetaState.setCurrentTextColor(BaseColor currentTextColor) 
           
             Setter for property currentTextColor. 
              |  
         
| Modifier and Type | Field and Description | 
|---|---|
protected BaseColor |  
          LineSeparator.lineColor 
           
             The color of the line. 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
BaseColor |  
          LineSeparator.getLineColor() 
           
             Getter for the color of the line that will be drawn. 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
void |  
          LineSeparator.setLineColor(BaseColor color) 
           
             Setter for the color of the line that will be drawn. 
              |  
         
| Constructor and Description | 
|---|
LineSeparator(float lineWidth, float percentage, BaseColor lineColor, int align, float offset) 
           
             Creates a new instance of the LineSeparator class. 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
BaseColor |  
          ImageRenderInfo.getCurrentFillColor()  |  
         
BaseColor |  
          TextRenderInfo.getFillColor()  |  
         
BaseColor |  
          GraphicsState.getFillColor() 
           
             Gets the current fill color 
              |  
         
BaseColor |  
          TextRenderInfo.getStrokeColor()  |  
         
BaseColor |  
          GraphicsState.getStrokeColor() 
           
             Gets the current stroke color 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
BaseColor |  
          PdfCleanUpLocation.getCleanUpColor() 
           
             Returns a color used to fill the area after erasing it. 
              |  
         
| Constructor and Description | 
|---|
PdfCleanUpLocation(int page, Rectangle region, BaseColor cleanUpColor) 
           
             Constructs a   PdfCleanUpLocation object. 
            |  
         
| Modifier and Type | Method and Description | 
|---|---|
Font |  
          XMLWorkerFontProvider.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color)  |  
         
| Modifier and Type | Method and Description | 
|---|---|
BaseColor |  
          TableStyleValues.getBackground() 
           
             Get background color. 
              |  
         
BaseColor |  
          TableStyleValues.getBorderColorBottom()  |  
         
BaseColor |  
          TableStyleValues.getBorderColorLeft()  |  
         
BaseColor |  
          TableStyleValues.getBorderColorRight()  |  
         
BaseColor |  
          TableStyleValues.getBorderColorTop()  |  
         
| Modifier and Type | Method and Description | 
|---|---|
void |  
          TableStyleValues.setBackground(BaseColor background) 
           
             Sets background color. 
              |  
         
void |  
          TableStyleValues.setBorderColor(BaseColor color) 
           
             Sets the border color for the entire table or cell. 
              |  
         
void |  
          TableStyleValues.setBorderColorBottom(BaseColor borderBottomColor)  |  
         
void |  
          TableStyleValues.setBorderColorLeft(BaseColor borderLeftColor)  |  
         
void |  
          TableStyleValues.setBorderColorRight(BaseColor borderRightColor)  |  
         
void |  
          TableStyleValues.setBorderColorTop(BaseColor borderTopColor)  |  
         
Copyright © 1998–2019. All rights reserved.