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 certainElement
s.com.itextpdf.tool.xml.html.table TagProcessor implementations fortable
tags. -
-
Uses of BaseColor in com.itextpdf.awt
Methods in com.itextpdf.awt that return BaseColor Modifier and Type Method Description static BaseColor
PdfGraphics2D. 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 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.private BaseColor
Font. color
the value of the color.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
Methods in com.itextpdf.text that return BaseColor 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.Methods in com.itextpdf.text with parameters of type BaseColor Modifier and Type Method Description static Font
FontFactory. getFont(java.lang.String fontname, float size, int style, BaseColor color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, float size, BaseColor color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached)
Constructs aFont
-object.static Font
FontFactory. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, float size, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached)
Constructs aFont
-object.Font
FontFactoryImp. getFont(java.lang.String fontname, java.lang.String encoding, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontProvider. getFont(java.lang.String fontname, java.lang.String encoding, boolean embedded, float size, int style, BaseColor color)
Constructs aFont
-object.Chunk
Chunk. setBackground(BaseColor color)
Sets the color of the backgroundChunk
.Chunk
Chunk. setBackground(BaseColor color, float extraLeft, float extraBottom, float extraRight, float extraTop)
Sets the color and the size of the backgroundChunk
.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 bordervoid
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.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 BaseColor
HtmlUtilities. decodeColor(java.lang.String s)
Deprecated.Converts aBaseColor
into a HTML representation of thisBaseColor
.static BaseColor
WebColors. 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.String
HtmlEncoder. encode(BaseColor color)
Deprecated.Converts aBaseColor
into 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 class
CMYKColor
class
DeviceNColor
class
ExtendedColor
class
GrayColor
class
LabColor
class
PatternColor
Represents a pattern.(package private) static class
PdfContentByte.UncoloredPattern
class
ShadingColor
Implements a shading pattern as aColor
.class
SpotColor
Fields in com.itextpdf.text.pdf declared as BaseColor Modifier and Type Field Description BaseColor
PdfSpotColor. altcs
The alternative color spaceprotected BaseColor
BaseField. backgroundColor
private BaseColor
PdfDiv. backgroundColor
protected BaseColor
BaseField. borderColor
protected BaseColor
PdfContentByte.UncoloredPattern. color
private BaseColor
PdfOutline. color
Holds value of property color.protected BaseColor
PdfContentByte.GraphicState. colorFill
protected BaseColor
PdfContentByte.GraphicState. colorStroke
private BaseColor
PdfShading. cspace
(package private) BaseColor
PdfPatternPainter. defaultColor
protected BaseColor
BaseField. textColor
Methods in com.itextpdf.text.pdf that return BaseColor Modifier and Type Method Description (package private) BaseColor
PdfChunk. color()
Returns the color of thisChunk
.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.(package private) BaseColor
AcroFields. getMKColor(PdfArray ar)
BaseColor
BaseField. getTextColor()
Gets the text color.BaseColor
PdfLabColor. lab2Rgb(float l, float a, float b)
BaseColor
LabColor. toRgb()
Methods in com.itextpdf.text.pdf with parameters of type BaseColor Modifier and Type Method Description (package private) ColorDetails
PdfWriter. addSimplePatternColorspace(BaseColor color)
static void
PdfShading. checkCompatibleColors(BaseColor c1, BaseColor c2)
private boolean
PdfContentByte. compareColors(BaseColor c1, BaseColor c2)
private Phrase
TextField. composePhrase(java.lang.String text, BaseFont ufont, BaseColor color, float fontSize)
Image
Barcode. createImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Creates anImage
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.(package private) void
PdfContentByte. outputColorNumbers(BaseColor color, float tint)
Outputs the color values to the content.abstract Rectangle
Barcode. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode128. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
Barcode39. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeCodabar. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.void
BarcodeDatamatrix. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)
Rectangle
BarcodeEAN. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeEANSUPP. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.Rectangle
BarcodeInter25. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.void
BarcodePDF417. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)
Rectangle
BarcodePostnet. placeBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Places the barcode in aPdfContentByte
.void
BarcodeQRCode. placeBarcode(PdfContentByte cb, BaseColor foreground, float moduleSide)
LabColor
PdfLabColor. rgb2lab(BaseColor baseColor)
private void
PdfContentByte. saveColor(BaseColor color, boolean fill)
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.private void
PdfStructureElement. setColorAttribute(BaseColor newColor, PdfObject oldColor, PdfName attributeName)
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)
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) BaseColor
MetaBrush. color
(package private) BaseColor
MetaPen. color
BaseColor
MetaState. currentBackgroundColor
BaseColor
MetaState. currentTextColor
Methods in com.itextpdf.text.pdf.codec.wmf that return BaseColor 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()
Methods in com.itextpdf.text.pdf.codec.wmf with parameters of type BaseColor Modifier and Type Method Description void
MetaState. setCurrentBackgroundColor(BaseColor currentBackgroundColor)
Setter for property currentBackgroundColor.void
MetaState. 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 BaseColor
LineSeparator. lineColor
The color of the line.Methods in com.itextpdf.text.pdf.draw that return BaseColor Modifier and Type Method Description BaseColor
LineSeparator. 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 void
LineSeparator. 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) BaseColor
GraphicsState. fillColor
The current fill color.(package private) BaseColor
GraphicsState. strokeColor
The current stroke color.Methods in com.itextpdf.text.pdf.parser that return BaseColor Modifier and Type Method Description private static BaseColor
PdfContentStreamProcessor. getColor(int nOperands, java.util.List<PdfObject> operands)
Gets a color based on a list of operands.private static BaseColor
PdfContentStreamProcessor. getColor(PdfName colorSpace, java.util.List<PdfObject> operands)
Gets a color based on a list of operands.BaseColor
ImageRenderInfo. getCurrentFillColor()
BaseColor
GraphicsState. getFillColor()
Gets the current fill colorBaseColor
TextRenderInfo. getFillColor()
BaseColor
GraphicsState. getStrokeColor()
Gets the current stroke colorBaseColor
TextRenderInfo. 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 BaseColor
PdfCleanUpLocation. cleanUpColor
Methods in com.itextpdf.text.pdf.pdfcleanup that return BaseColor Modifier and Type Method Description BaseColor
PdfCleanUpLocation. 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 aPdfCleanUpLocation
object. -
Uses of BaseColor in com.itextpdf.tool.xml
Methods in com.itextpdf.tool.xml with parameters of type BaseColor Modifier and Type Method Description Font
XMLWorkerFontProvider. 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 void
ListStyleTypeCssApplier. shrinkSymbol(List lst, float fontSize, BaseColor color)
private void
ListStyleTypeCssApplier. 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 BaseColor
TableStyleValues. background
private BaseColor
TableStyleValues. borderBottomColor
private BaseColor
TableStyleValues. borderLeftColor
private BaseColor
TableStyleValues. borderRightColor
private BaseColor
TableStyleValues. borderTopColor
Methods in com.itextpdf.tool.xml.html.table that return BaseColor Modifier and Type Method Description BaseColor
TableStyleValues. getBackground()
Get background color.BaseColor
TableStyleValues. getBorderColorBottom()
BaseColor
TableStyleValues. getBorderColorLeft()
BaseColor
TableStyleValues. getBorderColorRight()
BaseColor
TableStyleValues. getBorderColorTop()
Methods in com.itextpdf.tool.xml.html.table with parameters of type BaseColor Modifier and Type Method 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)
-