Uses of Class
com.itextpdf.text.BaseColor
Packages that use BaseColor
Package
Description
XMLWorker package provides a framework to parse XML to PDF with iText.
Contains classes that can apply css rules on certain
Elements.TagProcessor implementations for
table tags.-
Uses of BaseColor in com.itextpdf.awt
Methods in com.itextpdf.awt that return BaseColor -
Uses of BaseColor in com.itextpdf.text
Fields in com.itextpdf.text declared as BaseColorModifier and TypeFieldDescriptionprotected BaseColorRectangle.backgroundColorThis is the color of the background of this rectangle.static final BaseColorBaseColor.BLACKstatic final BaseColorBaseColor.BLUEprotected BaseColorRectangle.borderColorThe color of the border of this rectangle.protected BaseColorRectangle.borderColorBottomThe color of the bottom border of this rectangle.protected BaseColorRectangle.borderColorLeftThe color of the left border of this rectangle.protected BaseColorRectangle.borderColorRightThe color of the right border of this rectangle.protected BaseColorRectangle.borderColorTopThe color of the top border of this rectangle.private BaseColorFont.colorthe value of the color.static final BaseColorBaseColor.CYANstatic final BaseColorBaseColor.DARK_GRAYstatic final BaseColorBaseColor.GRAYstatic final BaseColorBaseColor.GREENstatic final BaseColorBaseColor.LIGHT_GRAYstatic final BaseColorBaseColor.MAGENTAstatic final BaseColorBaseColor.ORANGEstatic final BaseColorBaseColor.PINKstatic final BaseColorBaseColor.REDstatic final BaseColorBaseColor.WHITEstatic final BaseColorBaseColor.YELLOWMethods in com.itextpdf.text that return BaseColorModifier and TypeMethodDescriptionBaseColor.brighter()Make this BaseColor brighter.BaseColor.darker()Make this color darker.Rectangle.getBackgroundColor()Gets the backgroundcolor.Rectangle.getBorderColor()Gets the color of the border.Rectangle.getBorderColorBottom()Gets the color of the bottom border.Rectangle.getBorderColorLeft()Gets the color of the left border.Rectangle.getBorderColorRight()Gets the color of the right border.Rectangle.getBorderColorTop()Gets the color of the top border.Font.getColor()Gets the color of this font.Methods in com.itextpdf.text with parameters of type BaseColorModifier and TypeMethodDescriptionstatic FontConstructs aFont-object.static FontConstructs aFont-object.static FontFontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) Constructs aFont-object.static FontFontFactory.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached) Constructs aFont-object.static FontConstructs aFont-object.Constructs aFont-object.Constructs aFont-object.FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) Constructs aFont-object.FontFactoryImp.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached) Constructs aFont-object.Constructs aFont-object.FontProvider.getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color) Constructs aFont-object.Chunk.setBackground(BaseColor color) Sets the color of the backgroundChunk.Chunk.setBackground(BaseColor color, float extraLeft, float extraBottom, float extraRight, float extraTop) Sets the color and the size of the backgroundChunk.voidRectangle.setBackgroundColor(BaseColor backgroundColor) Sets the backgroundcolor of the rectangle.voidRectangleReadOnly.setBackgroundColor(BaseColor value) Sets the backgroundcolor of the rectangle.voidRectangle.setBorderColor(BaseColor borderColor) Sets the color of the border.voidRectangleReadOnly.setBorderColor(BaseColor borderColor) Sets the color of the border.voidRectangle.setBorderColorBottom(BaseColor borderColorBottom) Sets the color of the bottom border.voidRectangleReadOnly.setBorderColorBottom(BaseColor borderColorBottom) Sets the color of the bottom border.voidRectangle.setBorderColorLeft(BaseColor borderColorLeft) Sets the color of the left border.voidRectangleReadOnly.setBorderColorLeft(BaseColor borderColorLeft) Sets the color of the left border.voidRectangle.setBorderColorRight(BaseColor borderColorRight) Sets the color of the right border.voidRectangleReadOnly.setBorderColorRight(BaseColor borderColorRight) Sets the color of the right bordervoidRectangle.setBorderColorTop(BaseColor borderColorTop) Sets the color of the top border.voidRectangleReadOnly.setBorderColorTop(BaseColor borderColorTop) Sets the color of the top border.voidSets the color.voidZapfDingbatsList.setDingbatColor(BaseColor zapfDingbatColor) Sets the dingbat's color.Chunk.setTextRenderMode(int mode, float strokeWidth, BaseColor strokeColor) Sets the text rendering mode.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.Constructors in com.itextpdf.text with parameters of type BaseColorModifierConstructorDescriptionFont(Font.FontFamily family, float size, int style, BaseColor color) Constructs a Font.Constructs a Font.ZapfDingbatsList(int zn, int symbolIndent, BaseColor zapfDingbatColor) Creates a ZapfDingbatList with a colored symbol -
Uses of BaseColor in com.itextpdf.text.html
Methods in com.itextpdf.text.html that return BaseColorModifier and TypeMethodDescriptionstatic BaseColorHtmlUtilities.decodeColor(String s) Deprecated.Converts aBaseColorinto a HTML representation of thisBaseColor.static BaseColorWebColors.getRGBColor(String name) Deprecated.Gives you a BaseColor based on a name.Methods in com.itextpdf.text.html with parameters of type BaseColor -
Uses of BaseColor in com.itextpdf.text.pdf
Subclasses of BaseColor in com.itextpdf.text.pdfModifier and TypeClassDescriptionclassclassclassclassclassclassRepresents a pattern.(package private) static classclassImplements a shading pattern as aColor.classFields in com.itextpdf.text.pdf declared as BaseColorModifier and TypeFieldDescriptionPdfSpotColor.altcsThe alternative color spaceprotected BaseColorBaseField.backgroundColorprivate BaseColorPdfDiv.backgroundColorprotected BaseColorBaseField.borderColorprotected BaseColorPdfContentByte.UncoloredPattern.colorprivate BaseColorPdfOutline.colorHolds value of property color.protected BaseColorPdfContentByte.GraphicState.colorFillprotected BaseColorPdfContentByte.GraphicState.colorStrokeprivate BaseColorPdfShading.cspace(package private) BaseColorPdfPatternPainter.defaultColorprotected BaseColorBaseField.textColorMethods in com.itextpdf.text.pdf that return BaseColorModifier and TypeMethodDescription(package private) BaseColorPdfChunk.color()Returns the color of thisChunk.PdfSpotColor.getAlternativeCS()Gets the alternative ColorSpace.BaseField.getBackgroundColor()Gets the background color.PdfDiv.getBackgroundColor()BaseField.getBorderColor()Gets the border color.PdfOutline.getColor()Getter for property color.PdfShading.getColorSpace()PdfPatternPainter.getDefaultColor()Returns the default color of the pattern.(package private) BaseColorAcroFields.getMKColor(PdfArray ar) BaseField.getTextColor()Gets the text color.PdfLabColor.lab2Rgb(float l, float a, float b) LabColor.toRgb()Methods in com.itextpdf.text.pdf with parameters of type BaseColorModifier and TypeMethodDescription(package private) ColorDetailsPdfWriter.addSimplePatternColorspace(BaseColor color) static voidPdfShading.checkCompatibleColors(BaseColor c1, BaseColor c2) private booleanPdfContentByte.compareColors(BaseColor c1, BaseColor c2) private PhraseTextField.composePhrase(String text, BaseFont ufont, BaseColor color, float fontSize) Barcode.createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates anImagewith the barcode.PdfContentByte.createPattern(float width, float height, float xstep, float ystep, BaseColor color) Create a new uncolored tiling pattern.PdfContentByte.createPattern(float width, float height, BaseColor color) Create a new uncolored tiling pattern.Barcode.createTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Creates a template with the barcode.static float[]PdfShading.getColorArray(BaseColor color) static PdfArrayPdfAnnotation.getMKColor(BaseColor color) static intGets the type of a given color.(package private) voidPdfContentByte.outputColorNumbers(BaseColor color, float tint) Outputs the color values to the content.abstract RectangleBarcode.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.Barcode128.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.Barcode39.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.BarcodeCodabar.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.voidBarcodeDatamatrix.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth) BarcodeEAN.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.BarcodeEANSUPP.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.BarcodeInter25.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.voidBarcodePDF417.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth) BarcodePostnet.placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor) Places the barcode in aPdfContentByte.voidBarcodeQRCode.placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleSide) private voidvoidBaseField.setBackgroundColor(BaseColor backgroundColor) Sets the background color.voidPdfDiv.setBackgroundColor(BaseColor backgroundColor) voidBaseField.setBorderColor(BaseColor borderColor) Sets the border color.voidvoidSetter for property color.private voidPdfStructureElement.setColorAttribute(BaseColor newColor, PdfObject oldColor, PdfName attributeName) voidPdfContentByte.setColorFill(BaseColor color) Sets the fill color.voidPdfPatternPainter.setColorFill(BaseColor color) protected voidPdfShading.setColorSpace(BaseColor color) voidPdfContentByte.setColorStroke(BaseColor color) Sets the stroke color.voidPdfPatternPainter.setColorStroke(BaseColor color) voidPdfAnnotation.setMKBackgroundColor(BaseColor color) voidPdfAnnotation.setMKBorderColor(BaseColor color) voidPdfContentByte.setPatternFill(PdfPatternPainter p, BaseColor color) Sets the fill color to an uncolored pattern.voidPdfContentByte.setPatternFill(PdfPatternPainter p, BaseColor color, float tint) Sets the fill color to an uncolored pattern.voidPdfPatternPainter.setPatternFill(PdfPatternPainter p, BaseColor color, float tint) voidPdfContentByte.setPatternStroke(PdfPatternPainter p, BaseColor color) Sets the stroke color to an uncolored pattern.voidPdfContentByte.setPatternStroke(PdfPatternPainter p, BaseColor color, float tint) Sets the stroke color to an uncolored pattern.voidPdfPatternPainter.setPatternStroke(PdfPatternPainter p, BaseColor color, float tint) voidBaseField.setTextColor(BaseColor textColor) Sets the text color.static PdfShadingPdfShading.simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor) static PdfShadingPdfShading.simpleAxial(PdfWriter writer, float x0, float y0, float x1, float y1, BaseColor startColor, BaseColor endColor, boolean extendStart, boolean extendEnd) static PdfShadingPdfShading.simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor) static PdfShadingPdfShading.simpleRadial(PdfWriter writer, float x0, float y0, float r0, float x1, float y1, float r1, BaseColor startColor, BaseColor endColor, boolean extendStart, boolean extendEnd) static PdfShadingPdfShading.type1(PdfWriter writer, BaseColor colorSpace, float[] domain, float[] tMatrix, PdfFunction function) static PdfShadingPdfShading.type2(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) static PdfShadingPdfShading.type3(PdfWriter writer, BaseColor colorSpace, float[] coords, float[] domain, PdfFunction function, boolean[] extend) Constructors in com.itextpdf.text.pdf with parameters of type BaseColorModifierConstructorDescription(package private)(package private)PdfPatternPainter(PdfWriter wr, BaseColor defaultColor) PdfSpotColor(String name, BaseColor altcs) Constructs a newPdfSpotColor.protectedUncoloredPattern(PdfPatternPainter p, BaseColor color, float tint) -
Uses of BaseColor in com.itextpdf.text.pdf.codec.wmf
Fields in com.itextpdf.text.pdf.codec.wmf declared as BaseColorModifier and TypeFieldDescription(package private) BaseColorMetaBrush.color(package private) BaseColorMetaPen.colorMetaState.currentBackgroundColorMetaState.currentTextColorMethods in com.itextpdf.text.pdf.codec.wmf that return BaseColorModifier and TypeMethodDescriptionMetaBrush.getColor()MetaPen.getColor()MetaState.getCurrentBackgroundColor()Getter for property currentBackgroundColor.MetaState.getCurrentTextColor()Getter for property currentTextColor.InputMeta.readColor()Methods in com.itextpdf.text.pdf.codec.wmf with parameters of type BaseColorModifier and TypeMethodDescriptionvoidMetaState.setCurrentBackgroundColor(BaseColor currentBackgroundColor) Setter for property currentBackgroundColor.voidMetaState.setCurrentTextColor(BaseColor currentTextColor) Setter for property currentTextColor. -
Uses of BaseColor in com.itextpdf.text.pdf.draw
Fields in com.itextpdf.text.pdf.draw declared as BaseColorModifier and TypeFieldDescriptionprotected BaseColorLineSeparator.lineColorThe color of the line.Methods in com.itextpdf.text.pdf.draw that return BaseColorModifier and TypeMethodDescriptionLineSeparator.getLineColor()Getter for the color of the line that will be drawn.Methods in com.itextpdf.text.pdf.draw with parameters of type BaseColorModifier and TypeMethodDescriptionvoidLineSeparator.setLineColor(BaseColor color) Setter for the color of the line that will be drawn.Constructors in com.itextpdf.text.pdf.draw with parameters of type BaseColorModifierConstructorDescriptionLineSeparator(float lineWidth, float percentage, BaseColor lineColor, int align, float offset) Creates a new instance of the LineSeparator class. -
Uses of BaseColor in com.itextpdf.text.pdf.parser
Fields in com.itextpdf.text.pdf.parser declared as BaseColorModifier and TypeFieldDescription(package private) BaseColorGraphicsState.fillColorThe current fill color.(package private) BaseColorGraphicsState.strokeColorThe current stroke color.Methods in com.itextpdf.text.pdf.parser that return BaseColorModifier and TypeMethodDescriptionprivate static BaseColorGets a color based on a list of operands.private static BaseColorGets a color based on a list of operands.ImageRenderInfo.getCurrentFillColor()GraphicsState.getFillColor()Gets the current fill colorTextRenderInfo.getFillColor()GraphicsState.getStrokeColor()Gets the current stroke colorTextRenderInfo.getStrokeColor() -
Uses of BaseColor in com.itextpdf.text.pdf.pdfcleanup
Fields in com.itextpdf.text.pdf.pdfcleanup declared as BaseColorMethods in com.itextpdf.text.pdf.pdfcleanup that return BaseColorModifier and TypeMethodDescriptionPdfCleanUpLocation.getCleanUpColor()Returns a color used to fill the area after erasing it.Constructors in com.itextpdf.text.pdf.pdfcleanup with parameters of type BaseColorModifierConstructorDescriptionPdfCleanUpLocation(int page, Rectangle region, BaseColor cleanUpColor) Constructs aPdfCleanUpLocationobject. -
Uses of BaseColor in com.itextpdf.tool.xml
Methods in com.itextpdf.tool.xml with parameters of type BaseColor -
Uses of BaseColor in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply with parameters of type BaseColorModifier and TypeMethodDescriptionprivate voidListStyleTypeCssApplier.shrinkSymbol(List lst, float fontSize, BaseColor color) private voidListStyleTypeCssApplier.synchronizeSymbol(float fontSize, List lst, BaseColor color) -
Uses of BaseColor in com.itextpdf.tool.xml.html.table
Fields in com.itextpdf.tool.xml.html.table declared as BaseColorModifier and TypeFieldDescriptionprivate BaseColorTableStyleValues.backgroundprivate BaseColorTableStyleValues.borderBottomColorprivate BaseColorTableStyleValues.borderLeftColorprivate BaseColorTableStyleValues.borderRightColorprivate BaseColorTableStyleValues.borderTopColorMethods in com.itextpdf.tool.xml.html.table that return BaseColorModifier and TypeMethodDescriptionTableStyleValues.getBackground()Get background color.TableStyleValues.getBorderColorBottom()TableStyleValues.getBorderColorLeft()TableStyleValues.getBorderColorRight()TableStyleValues.getBorderColorTop()Methods in com.itextpdf.tool.xml.html.table with parameters of type BaseColorModifier and TypeMethodDescriptionvoidTableStyleValues.setBackground(BaseColor background) Sets background color.voidTableStyleValues.setBorderColor(BaseColor color) Sets the border color for the entire table or cell.voidTableStyleValues.setBorderColorBottom(BaseColor borderBottomColor) voidTableStyleValues.setBorderColorLeft(BaseColor borderLeftColor) voidTableStyleValues.setBorderColorRight(BaseColor borderRightColor) voidTableStyleValues.setBorderColorTop(BaseColor borderTopColor)