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.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(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.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(String fontname, float size, int style, BaseColor color)
Constructs aFont
-object.static Font
FontFactory. getFont(String fontname, float size, BaseColor color)
Constructs aFont
-object.static Font
FontFactory. getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color)
Constructs aFont
-object.static Font
FontFactory. getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached)
Constructs aFont
-object.static Font
FontFactory. getFont(String fontname, String encoding, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(String fontname, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(String fontname, float size, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontFactoryImp. getFont(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color, boolean cached)
Constructs aFont
-object.Font
FontFactoryImp. getFont(String fontname, String encoding, float size, int style, BaseColor color)
Constructs aFont
-object.Font
FontProvider. getFont(String fontname, 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(String s)
Deprecated.Converts aBaseColor
into a HTML representation of thisBaseColor
.static BaseColor
WebColors. getRGBColor(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 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.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
protected BaseColor
BaseField. borderColor
protected BaseColor
PdfContentByte.GraphicState. colorFill
protected BaseColor
PdfContentByte.GraphicState. colorStroke
protected BaseColor
BaseField. textColor
Methods in com.itextpdf.text.pdf that return BaseColor 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()
Methods in com.itextpdf.text.pdf with parameters of type BaseColor Modifier and Type Method Description static void
PdfShading. checkCompatibleColors(BaseColor c1, BaseColor c2)
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.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)
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)
Constructors in com.itextpdf.text.pdf with parameters of type BaseColor Constructor Description PdfSpotColor(String name, BaseColor altcs)
Constructs a newPdfSpotColor
. -
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 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
Methods in com.itextpdf.text.pdf.parser that return BaseColor Modifier and Type Method Description 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
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(String fontname, String encoding, boolean embedded, float size, int style, BaseColor color)
-
Uses of BaseColor in com.itextpdf.tool.xml.html.table
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)
-