Uses of Class
com.itextpdf.kernel.colors.Color
Package
Description
-
Uses of Color in com.itextpdf.barcodes
Modifier and TypeMethodDescriptionBarcode1D.createFormXObject
(Color barColor, Color textColor, PdfDocument document) Creates a PdfFormXObject with the barcode.abstract PdfFormXObject
Barcode2D.createFormXObject
(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodeDataMatrix.createFormXObject
(Color foreground, float moduleSide, PdfDocument document) Creates a PdfFormXObject with the barcode with given module width and module height.BarcodeDataMatrix.createFormXObject
(Color foreground, PdfDocument document) BarcodePDF417.createFormXObject
(Color foreground, float moduleWidth, float moduleHeight, PdfDocument document) Creates a PdfFormXObject with the barcode with given module width and module height.BarcodePDF417.createFormXObject
(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodeQRCode.createFormXObject
(Color foreground, float moduleSize, PdfDocument document) Creates a PdfFormXObject with the barcode.BarcodeQRCode.createFormXObject
(Color foreground, PdfDocument document) Creates a PdfFormXObject with the barcode.Barcode128.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.abstract Rectangle
Barcode1D.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.abstract Rectangle
Barcode2D.placeBarcode
(PdfCanvas canvas, Color foreground) Places the barcode in aPdfCanvas
.Barcode39.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeCodabar.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeDataMatrix.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodeDataMatrix.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleSide) BarcodeEAN.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeEANSUPP.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeInter25.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodeMSI.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) Places the barcode in aPdfCanvas
.BarcodePDF417.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodePDF417.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) BarcodePostnet.placeBarcode
(PdfCanvas canvas, Color barColor, Color textColor) BarcodeQRCode.placeBarcode
(PdfCanvas canvas, Color foreground) BarcodeQRCode.placeBarcode
(PdfCanvas canvas, Color foreground, float moduleSide) * Places the barcode in aPdfCanvas
. -
Uses of Color in com.itextpdf.forms.fields
Modifier and TypeFieldDescriptionprotected Color
PdfFormAnnotation.backgroundColor
protected Color
PdfFormAnnotation.borderColor
protected Color
AbstractPdfFormField.color
Modifier and TypeMethodDescriptionAbstractPdfFormField.getColor()
Gets the current color of the form field.Modifier and TypeMethodDescriptionPdfFormAnnotation.setBackgroundColor
(Color backgroundColor) Basic setter for thebackgroundColor
property.PdfFormAnnotation.setBorderColor
(Color color) Sets the Border Color.Sets the text color and regenerates appearance stream.Sets the text color and regenerates appearance stream. -
Uses of Color in com.itextpdf.forms.fields.borders
-
Uses of Color in com.itextpdf.kernel.colors
Modifier and TypeClassDescriptionclass
class
class
Color space to specify colors according to CMYK color model.class
Color space to specify shades of gray color.class
class
Color space to specify colors according to RGB color model.class
class
class
class
class
Modifier and TypeFieldDescriptionstatic final Color
ColorConstants.BLACK
Predefined black DeviceRgb colorstatic final Color
DeviceRgb.BLACK
Predefined black DeviceRgb colorstatic final Color
ColorConstants.BLUE
Predefined blue DeviceRgb colorstatic final Color
DeviceRgb.BLUE
Predefined blue DeviceRgb colorstatic final Color
ColorConstants.CYAN
Predefined cyan DeviceRgb colorstatic final Color
ColorConstants.DARK_GRAY
Predefined dark gray DeviceRgb colorstatic final Color
ColorConstants.GRAY
Predefined gray DeviceRgb colorstatic final Color
ColorConstants.GREEN
Predefined green DeviceRgb colorstatic final Color
DeviceRgb.GREEN
Predefined green DeviceRgb colorstatic final Color
ColorConstants.LIGHT_GRAY
Predefined light gray DeviceRgb colorstatic final Color
ColorConstants.MAGENTA
Predefined magenta DeviceRgb colorstatic final Color
ColorConstants.ORANGE
Predefined orange DeviceRgb colorstatic final Color
ColorConstants.PINK
Predefined pink DeviceRgb colorstatic final Color
ColorConstants.RED
Predefined red DeviceRgb colorstatic final Color
DeviceRgb.RED
Predefined red DeviceRgb colorstatic final Color
ColorConstants.WHITE
Predefined white DeviceRgb colorstatic final Color
DeviceRgb.WHITE
Predefined white DeviceRgb colorstatic final Color
ColorConstants.YELLOW
Predefined yellow DeviceRgb colorModifier and TypeMethodDescriptionstatic Color
Color.makeColor
(PdfColorSpace colorSpace) Makes a Color of certain color space.static Color
Color.makeColor
(PdfColorSpace colorSpace, float[] colorValue) Makes a Color of certain color space and color value. -
Uses of Color in com.itextpdf.kernel.colors.gradients
Modifier and TypeMethodDescriptionAbstractLinearGradientBuilder.buildColor
(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document) Builds theColor
object representing the linear gradient with specified configuration that fills the target bounding box. -
Uses of Color in com.itextpdf.kernel.pdf
Modifier and TypeMethodDescriptionPdfOutline.getColor()
Gets color for the outline entry's text,C
key. -
Uses of Color in com.itextpdf.kernel.pdf.annot
Modifier and TypeMethodDescriptionPdfCircleAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's ellipse.PdfLineAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.PdfPolyGeomAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.PdfRedactAnnotation.getInteriorColor()
The interior color which is used to fill the redacted region after the affected content has been removed.PdfSquareAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's rectangle.Modifier and TypeMethodDescriptionSets an annotation color. -
Uses of Color in com.itextpdf.kernel.pdf.canvas
Modifier and TypeMethodDescriptionCanvasGraphicsState.getFillColor()
Gets the current fill color.CanvasGraphicsState.getStrokeColor()
Gets the current stroke color.Modifier and TypeMethodDescriptionChanges the current color for paths.void
CanvasGraphicsState.setFillColor
(Color fillColor) Sets the current fillcolor
.PdfCanvas.setFillColor
(Color color) Changes the current color for filling paths.void
CanvasGraphicsState.setStrokeColor
(Color strokeColor) Sets the current strokecolor
.PdfCanvas.setStrokeColor
(Color color) Changes the current color for stroking paths. -
Uses of Color in com.itextpdf.kernel.pdf.canvas.draw
-
Uses of Color in com.itextpdf.kernel.pdf.canvas.parser.data
Modifier and TypeMethodDescriptionPathRenderInfo.getFillColor()
Gets the path's fill color.TextRenderInfo.getFillColor()
PathRenderInfo.getStrokeColor()
Gets the path's stroke color.TextRenderInfo.getStrokeColor()
-
Uses of Color in com.itextpdf.kernel.pdf.canvas.wmf
Modifier and TypeFieldDescriptionMetaState.currentBackgroundColor
The current background color.MetaState.currentTextColor
Current text color.Modifier and TypeMethodDescriptionMetaBrush.getColor()
Get the color of the MetaBrush.MetaPen.getColor()
Get the color of the MetaPen.MetaState.getCurrentBackgroundColor()
Getter for property currentBackgroundColor.MetaState.getCurrentTextColor()
Getter for property currentTextColor.InputMeta.readColor()
Read the nextColor
from the InputStream.Modifier and TypeMethodDescriptionvoid
MetaState.setCurrentBackgroundColor
(Color currentBackgroundColor) Setter for property currentBackgroundColor.void
MetaState.setCurrentTextColor
(Color currentTextColor) Setter for property currentTextColor. -
Uses of Color in com.itextpdf.layout
Modifier and TypeMethodDescriptionElementPropertyContainer.getStrokeColor()
Gets the stroke color for the current element.Modifier and TypeMethodDescriptionElementPropertyContainer.setBackgroundColor
(Color backgroundColor) Specifies a background color for the Element.ElementPropertyContainer.setBackgroundColor
(Color backgroundColor, float opacity) Specifies a background color for the Element.ElementPropertyContainer.setBackgroundColor
(Color backgroundColor, float extraLeft, float extraTop, float extraRight, float extraBottom) Specifies a background color for the Element, and extra space that must be counted as part of the background and therefore colored.ElementPropertyContainer.setBackgroundColor
(Color backgroundColor, float opacity, float extraLeft, float extraTop, float extraRight, float extraBottom) Specifies a background color for the Element, and extra space that must be counted as part of the background and therefore colored.ElementPropertyContainer.setFontColor
(Color fontColor) Sets the font color of this Element.ElementPropertyContainer.setFontColor
(Color fontColor, float opacity) Sets the font color of this Element and the opacity of the text.ElementPropertyContainer.setStrokeColor
(Color strokeColor) Sets the stroke color for the current element.ElementPropertyContainer.setUnderline
(Color color, float opacity, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle) Sets an horizontal line that can be an underline or a strikethrough.ElementPropertyContainer.setUnderline
(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle) Sets an horizontal line that can be an underline or a strikethrough. -
Uses of Color in com.itextpdf.layout.borders
Modifier and TypeMethodDescriptionBorder.getColor()
protected Color
Border3D.getDarkerColor()
Makes theBorder.transparentColor
color of the border darker and returns the resultModifierConstructorDescriptionprotected
protected
DashedBorder
(Color color, float width) Creates a DashedBorder with the specified width and the specified color.DashedBorder
(Color color, float width, float opacity) Creates a DashedBorder with the specified width, color and opacity.DottedBorder
(Color color, float width) Creates a DottedBorder instance with the specified width and color.DottedBorder
(Color color, float width, float opacity) Creates a DottedBorder with the specified width, color and opacity.DoubleBorder
(Color color, float width) Creates a DoubleBorder with the specified width for both the two borders as the space in between them and the specified color for the two borders.DoubleBorder
(Color color, float width, float opacity) Creates a DoubleBorder with the specified width for both the two borders as the space in between them and the specified color for the two borders.FixedDashedBorder
(Color color, float width) Creates a FixedDashedBorder with the specified width and the specified color.FixedDashedBorder
(Color color, float width, float opacity) Creates a FixedDashedBorder with the specified width, color and opacity.FixedDashedBorder
(Color color, float width, float unitsOn, float unitsOff, float phase) Creates a FixedDashedBorder with the specified width, color, unitsOn, unitsOff and phase.FixedDashedBorder
(Color color, float width, float opacity, float unitsOn, float unitsOff, float phase) Creates a FixedDashedBorder with the specified width, color, opacity, unitsOn, unitsOff and phase.RoundDotsBorder
(Color color, float width) Creates a RoundDotsBorder with the specified wit?dth and the specified color.RoundDotsBorder
(Color color, float width, float opacity) Creates a RoundDotsBorder with the specified width, color and opacity.SolidBorder
(Color color, float width) Creates a SolidBorder with the specified width and the specified color.SolidBorder
(Color color, float width, float opacity) Creates a SolidBorder with the specified width, color and opacity. -
Uses of Color in com.itextpdf.layout.properties
Modifier and TypeMethodDescriptionBackground.getColor()
Gets the background's color.TransparentColor.getColor()
Gets the color.Underline.getColor()
Gets the color of the underline.ModifierConstructorDescriptionBackground
(Color color) Creates a background with a specified color.Background
(Color color, float opacity) Creates a background with a specified color and opacity.Background
(Color color, float extraLeft, float extraTop, float extraRight, float extraBottom) Creates a background with a specified color, and extra space that must be counted as part of the background and therefore colored.Background
(Color color, float opacity, float extraLeft, float extraTop, float extraRight, float extraBottom) Creates a background with a specified color, and extra space that must be counted as part of the background and therefore colored.Background
(Color color, float opacity, BackgroundBox clip) Creates a background with a specified color, opacity and clip value.TransparentColor
(Color color) Creates a newTransparentColor
instance of certain fully opaque color.TransparentColor
(Color color, float opacity) Creates a newTransparentColor
.Underline
(Color color, float opacity, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle) Creates an Underline.Underline
(Color color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle) Creates an Underline. -
Uses of Color in com.itextpdf.layout.renderer
Modifier and TypeMethodDescriptionAbstractRenderer.getPropertyAsColor
(int property) Returns a property with a certain key, as a color. -
Uses of Color in com.itextpdf.pdfa.checker
Modifier and TypeMethodDescriptionvoid
PdfA1Checker.checkColor
(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream stream) void
PdfA2Checker.checkColor
(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) abstract void
PdfAChecker.checkColor
(Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) This method checks compliance with the color restrictions imposed by the available color spaces in the document. -
Uses of Color in com.itextpdf.signatures
Modifier and TypeMethodDescriptionPdfSignatureAppearance.getLayer2FontColor()
Gets the n2 and n4 layer font color.Modifier and TypeMethodDescriptionPdfSignatureAppearance.setLayer2FontColor
(Color color) Sets the n2 and n4 layer font color. -
Uses of Color in com.itextpdf.svg.renderers
Modifier and TypeMethodDescriptionISvgPaintServer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) Creates theColor
that represents the corresponding paint server for specified object box. -
Uses of Color in com.itextpdf.svg.renderers.impl
Modifier and TypeMethodDescriptionLinearGradientSvgNodeRenderer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) PatternSvgNodeRenderer.createColor
(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)