Uses of Class
com.itextpdf.text.BaseColor
-
Packages that use BaseColor 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.css.apply Contains classes that can apply css rules on certainElements.com.itextpdf.tool.xml.html.table TagProcessor implementations fortabletags. -
-
Uses of BaseColor in com.itextpdf.awt
Methods in com.itextpdf.awt that return BaseColor Modifier and Type Method Description static BaseColorPdfGraphics2D. prepareColor(java.awt.Color color) -
Uses of BaseColor in com.itextpdf.text
Fields in com.itextpdf.text declared as BaseColor Modifier and Type Field Description protected BaseColorRectangle. backgroundColorThis is the color of the background of this rectangle.static BaseColorBaseColor. BLACKstatic 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 BaseColorBaseColor. CYANstatic BaseColorBaseColor. DARK_GRAYstatic BaseColorBaseColor. GRAYstatic BaseColorBaseColor. GREENstatic BaseColorBaseColor. LIGHT_GRAYstatic BaseColorBaseColor. MAGENTAstatic BaseColorBaseColor. ORANGEstatic BaseColorBaseColor. PINKstatic BaseColorBaseColor. REDstatic BaseColorBaseColor. WHITEstatic BaseColorBaseColor. YELLOWMethods in com.itextpdf.text that return BaseColor Modifier and Type Method Description BaseColorBaseColor. brighter()Make this BaseColor brighter.BaseColorBaseColor. darker()Make this color darker.BaseColorRectangle. getBackgroundColor()Gets the backgroundcolor.BaseColorRectangle. getBorderColor()Gets the color of the border.BaseColorRectangle. getBorderColorBottom()Gets the color of the bottom border.BaseColorRectangle. getBorderColorLeft()Gets the color of the left border.BaseColorRectangle. getBorderColorRight()Gets the color of the right border.BaseColorRectangle. getBorderColorTop()Gets the color of the top border.BaseColorFont. getColor()Gets the color of this font.Methods in com.itextpdf.text with parameters of type BaseColor Modifier and Type Method Description static FontFontFactory. getFont(java.lang.String fontname, float size, int style, BaseColor color)Constructs aFont-object.static FontFontFactory. getFont(java.lang.String fontname, float size, BaseColor color)Constructs aFont-object.static FontFontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color)Constructs aFont-object.static FontFontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached)Constructs aFont-object.static FontFontFactory. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style, BaseColor color)Constructs aFont-object.FontFontFactoryImp. getFont(java.lang.String fontname, float size, int style, BaseColor color)Constructs aFont-object.FontFontFactoryImp. getFont(java.lang.String fontname, float size, BaseColor color)Constructs aFont-object.FontFontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color)Constructs aFont-object.FontFontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached)Constructs aFont-object.FontFontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style, BaseColor color)Constructs aFont-object.FontFontProvider. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color)Constructs aFont-object.ChunkChunk. setBackground(BaseColor color)Sets the color of the backgroundChunk.ChunkChunk. 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.voidFont. setColor(BaseColor color)Sets the color.voidZapfDingbatsList. setDingbatColor(BaseColor zapfDingbatColor)Sets the dingbat's color.ChunkChunk. setTextRenderMode(int mode, float strokeWidth, BaseColor strokeColor)Sets the text rendering mode.ChunkChunk. 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 BaseColor 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 -
Uses of BaseColor in com.itextpdf.text.html
Methods in com.itextpdf.text.html that return BaseColor Modifier and Type Method Description static BaseColorHtmlUtilities. decodeColor(java.lang.String s)Deprecated.Converts aBaseColorinto a HTML representation of thisBaseColor.static BaseColorWebColors. getRGBColor(java.lang.String name)Deprecated.Gives you a BaseColor based on a name.Methods in com.itextpdf.text.html with parameters of type BaseColor Modifier and Type Method Description static java.lang.StringHtmlEncoder. encode(BaseColor color)Deprecated.Converts aBaseColorinto a HTML representation of thisBaseColor. -
Uses of BaseColor in com.itextpdf.text.pdf
Subclasses of BaseColor in com.itextpdf.text.pdf Modifier and Type Class Description classCMYKColorclassDeviceNColorclassExtendedColorclassGrayColorclassLabColorclassPatternColorRepresents a pattern.(package private) static classPdfContentByte.UncoloredPatternclassShadingColorImplements a shading pattern as aColor.classSpotColorFields in com.itextpdf.text.pdf declared as BaseColor Modifier and Type Field Description BaseColorPdfSpotColor. 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 BaseColor Modifier and Type Method Description (package private) BaseColorPdfChunk. color()Returns the color of thisChunk.BaseColorPdfSpotColor. getAlternativeCS()Gets the alternative ColorSpace.BaseColorBaseField. getBackgroundColor()Gets the background color.BaseColorPdfDiv. getBackgroundColor()BaseColorBaseField. getBorderColor()Gets the border color.BaseColorPdfOutline. getColor()Getter for property color.BaseColorPdfShading. getColorSpace()BaseColorPdfPatternPainter. getDefaultColor()Returns the default color of the pattern.(package private) BaseColorAcroFields. getMKColor(PdfArray ar)BaseColorBaseField. getTextColor()Gets the text color.BaseColorPdfLabColor. lab2Rgb(float l, float a, float b)BaseColorLabColor. toRgb()Methods in com.itextpdf.text.pdf with parameters of type BaseColor Modifier and Type Method Description (package private) ColorDetailsPdfWriter. addSimplePatternColorspace(BaseColor color)static voidPdfShading. checkCompatibleColors(BaseColor c1, BaseColor c2)private booleanPdfContentByte. compareColors(BaseColor c1, BaseColor c2)private PhraseTextField. composePhrase(java.lang.String text, BaseFont ufont, BaseColor color, float fontSize)ImageBarcode. createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Creates anImagewith the barcode.PdfPatternPainterPdfContentByte. createPattern(float width, float height, float xstep, float ystep, BaseColor color)Create a new uncolored tiling pattern.PdfPatternPainterPdfContentByte. createPattern(float width, float height, BaseColor color)Create a new uncolored tiling pattern.PdfTemplateBarcode. 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 intExtendedColor. getType(BaseColor color)Gets 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.RectangleBarcode128. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcode39. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeCodabar. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.voidBarcodeDatamatrix. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)RectangleBarcodeEAN. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeEANSUPP. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.RectangleBarcodeInter25. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.voidBarcodePDF417. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)RectangleBarcodePostnet. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)Places the barcode in aPdfContentByte.voidBarcodeQRCode. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleSide)LabColorPdfLabColor. rgb2lab(BaseColor baseColor)private voidPdfContentByte. saveColor(BaseColor color, boolean fill)voidBaseField. setBackgroundColor(BaseColor backgroundColor)Sets the background color.voidPdfDiv. setBackgroundColor(BaseColor backgroundColor)voidBaseField. setBorderColor(BaseColor borderColor)Sets the border color.voidPdfAnnotation. setColor(BaseColor color)voidPdfOutline. setColor(BaseColor color)Setter 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 BaseColor Constructor Description PdfColor(BaseColor color)PdfPatternPainter(PdfWriter wr, BaseColor defaultColor)PdfSpotColor(java.lang.String name, BaseColor altcs)Constructs a newPdfSpotColor.UncoloredPattern(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 BaseColor Modifier and Type Field Description (package private) BaseColorMetaBrush. color(package private) BaseColorMetaPen. colorBaseColorMetaState. currentBackgroundColorBaseColorMetaState. currentTextColorMethods in com.itextpdf.text.pdf.codec.wmf that return BaseColor Modifier and Type Method Description BaseColorMetaBrush. getColor()BaseColorMetaPen. getColor()BaseColorMetaState. getCurrentBackgroundColor()Getter for property currentBackgroundColor.BaseColorMetaState. getCurrentTextColor()Getter for property currentTextColor.BaseColorInputMeta. readColor()Methods in com.itextpdf.text.pdf.codec.wmf with parameters of type BaseColor Modifier and Type Method Description voidMetaState. 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 BaseColor Modifier and Type Field Description protected BaseColorLineSeparator. lineColorThe color of the line.Methods in com.itextpdf.text.pdf.draw that return BaseColor Modifier and Type Method Description BaseColorLineSeparator. getLineColor()Getter for the color of the line that will be drawn.Methods in com.itextpdf.text.pdf.draw with parameters of type BaseColor Modifier and Type Method Description voidLineSeparator. 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 BaseColor Constructor Description LineSeparator(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 BaseColor Modifier and Type Field Description (package private) BaseColorGraphicsState. fillColorThe current fill color.(package private) BaseColorGraphicsState. strokeColorThe current stroke color.Methods in com.itextpdf.text.pdf.parser that return BaseColor Modifier and Type Method Description private static BaseColorPdfContentStreamProcessor. getColor(int nOperands, java.util.List<PdfObject> operands)Gets a color based on a list of operands.private static BaseColorPdfContentStreamProcessor. getColor(PdfName colorSpace, java.util.List<PdfObject> operands)Gets a color based on a list of operands.BaseColorImageRenderInfo. getCurrentFillColor()BaseColorGraphicsState. getFillColor()Gets the current fill colorBaseColorTextRenderInfo. getFillColor()BaseColorGraphicsState. getStrokeColor()Gets the current stroke colorBaseColorTextRenderInfo. getStrokeColor() -
Uses of BaseColor in com.itextpdf.text.pdf.pdfcleanup
Fields in com.itextpdf.text.pdf.pdfcleanup declared as BaseColor Modifier and Type Field Description private BaseColorPdfCleanUpLocation. cleanUpColorMethods in com.itextpdf.text.pdf.pdfcleanup that return BaseColor Modifier and Type Method Description BaseColorPdfCleanUpLocation. getCleanUpColor()Returns a color used to fill the area after erasing it.Constructors in com.itextpdf.text.pdf.pdfcleanup with parameters of type BaseColor Constructor Description PdfCleanUpLocation(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 Modifier and Type Method Description FontXMLWorkerFontProvider. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color) -
Uses of BaseColor in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply with parameters of type BaseColor Modifier and Type Method Description private 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 BaseColor Modifier and Type Field Description private BaseColorTableStyleValues. backgroundprivate BaseColorTableStyleValues. borderBottomColorprivate BaseColorTableStyleValues. borderLeftColorprivate BaseColorTableStyleValues. borderRightColorprivate BaseColorTableStyleValues. borderTopColorMethods in com.itextpdf.tool.xml.html.table that return BaseColor Modifier and Type Method Description BaseColorTableStyleValues. getBackground()Get background color.BaseColorTableStyleValues. getBorderColorBottom()BaseColorTableStyleValues. getBorderColorLeft()BaseColorTableStyleValues. getBorderColorRight()BaseColorTableStyleValues. getBorderColorTop()Methods in com.itextpdf.tool.xml.html.table with parameters of type BaseColor Modifier and Type Method Description voidTableStyleValues. 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)
-