Uses of Class
com.itextpdf.kernel.colors.Color
-
-
Uses of Color in com.itextpdf.barcodes
Methods in com.itextpdf.barcodes with parameters of type Color Modifier and Type Method Description PdfFormXObjectBarcode1D. createFormXObject(Color barColor, Color textColor, PdfDocument document)Creates a PdfFormXObject with the barcode.abstract PdfFormXObjectBarcode2D. createFormXObject(Color foreground, PdfDocument document)Creates a PdfFormXObject with the barcode.PdfFormXObjectBarcodeDataMatrix. createFormXObject(Color foreground, float moduleSide, PdfDocument document)Creates a PdfFormXObject with the barcode with given module width and module height.PdfFormXObjectBarcodeDataMatrix. createFormXObject(Color foreground, PdfDocument document)Creates a PdfFormXObject with the barcode.PdfFormXObjectBarcodePDF417. createFormXObject(Color foreground, float moduleWidth, float moduleHeight, PdfDocument document)Creates a PdfFormXObject with the barcode with given module width and module height.PdfFormXObjectBarcodePDF417. createFormXObject(Color foreground, PdfDocument document)Creates a PdfFormXObject with the barcode.PdfFormXObjectBarcodeQRCode. createFormXObject(Color foreground, float moduleSize, PdfDocument document)Creates a PdfFormXObject with the barcode.PdfFormXObjectBarcodeQRCode. createFormXObject(Color foreground, PdfDocument document)Creates a PdfFormXObject with the barcode.RectangleBarcode128. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.abstract RectangleBarcode1D. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.abstract RectangleBarcode2D. placeBarcode(PdfCanvas canvas, Color foreground)Places the barcode in aPdfCanvas.RectangleBarcode39. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeCodabar. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeDataMatrix. placeBarcode(PdfCanvas canvas, Color foreground)Places the barcode in aPdfCanvas.RectangleBarcodeDataMatrix. placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)Places the barcode in a PdfCanvasRectangleBarcodeEAN. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeEANSUPP. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeInter25. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodeMSI. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)Places the barcode in aPdfCanvas.RectangleBarcodePDF417. placeBarcode(PdfCanvas canvas, Color foreground)Places the barcode in aPdfCanvas.RectangleBarcodePDF417. placeBarcode(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight)Places the barcode in aPdfCanvas.RectangleBarcodePostnet. placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)RectangleBarcodeQRCode. placeBarcode(PdfCanvas canvas, Color foreground)RectangleBarcodeQRCode. placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)* Places the barcode in aPdfCanvas. -
Uses of Color in com.itextpdf.forms.fields
Fields in com.itextpdf.forms.fields declared as Color Modifier and Type Field Description protected ColorPdfFormAnnotation. backgroundColorprotected ColorPdfFormAnnotation. borderColorprotected ColorAbstractPdfFormField. colorMethods in com.itextpdf.forms.fields that return Color Modifier and Type Method Description private static ColorPdfFormAnnotation. appearancePropToColor(PdfDictionary appearanceCharacteristics, PdfName property)ColorAbstractPdfFormField. getColor()Gets the current color of the form field.Methods in com.itextpdf.forms.fields with parameters of type Color Modifier and Type Method Description private static PdfStringPdfFormField. generateDefaultAppearance(PdfName font, float fontSize, Color textColor)PdfFormAnnotationPdfFormAnnotation. setBackgroundColor(Color backgroundColor)Basic setter for thebackgroundColorproperty.PdfFormAnnotationPdfFormAnnotation. setBorderColor(Color color)Sets the Border Color.AbstractPdfFormFieldAbstractPdfFormField. setColor(Color color)Sets the text color and regenerates appearance stream.AbstractPdfFormFieldPdfFormField. setColor(Color color)Sets the text color and regenerates appearance stream.(package private) voidAbstractPdfFormField. setColorNoRegenerate(Color color)Sets the text color and does not regenerate appearance stream. -
Uses of Color in com.itextpdf.forms.fields.borders
Fields in com.itextpdf.forms.fields.borders declared as Color Modifier and Type Field Description private ColorBeveledBorder. backgroundColorMethods in com.itextpdf.forms.fields.borders that return Color Modifier and Type Method Description private ColorBeveledBorder. getDarkerColor(Color color)Methods in com.itextpdf.forms.fields.borders with parameters of type Color Modifier and Type Method Description static BorderFormBorderFactory. getBorder(PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor)ReturnsBorderfor specific borderStyle.private ColorBeveledBorder. getDarkerColor(Color color)Constructors in com.itextpdf.forms.fields.borders with parameters of type Color Constructor Description AbstractFormBorder(Color color, float width)BeveledBorder(Color color, float width, Color backgroundColor)InsetBorder(Color color, float width)UnderlineBorder(Color color, float width) -
Uses of Color in com.itextpdf.forms.form.element
Fields in com.itextpdf.forms.form.element declared as Color Modifier and Type Field Description private static ColorButton. DEFAULT_BACKGROUND_COLOR -
Uses of Color in com.itextpdf.forms.form.renderer
Fields in com.itextpdf.forms.form.renderer declared as Color Modifier and Type Field Description private static ColorRadioRenderer. DEFAULT_CHECKED_COLOR -
Uses of Color in com.itextpdf.forms.xfdf
Methods in com.itextpdf.forms.xfdf that return Color Modifier and Type Method Description (package private) static ColorXfdfObjectUtils. convertColorFromString(java.lang.String hexColor)Converts string containing hex color code to Color object.Methods in com.itextpdf.forms.xfdf with parameters of type Color Modifier and Type Method Description (package private) static java.lang.StringXfdfObjectUtils. convertColorToString(Color color)Converts a Color object into a hex string representing the rgb color. -
Uses of Color in com.itextpdf.kernel.colors
Subclasses of Color in com.itextpdf.kernel.colors Modifier and Type Class Description classCalGrayRepresentation of a CalGray color space.classCalRgbRepresentation of a CalRgb color space.classDeviceCmykColor space to specify colors according to CMYK color model.classDeviceGrayColor space to specify shades of gray color.classDeviceNRepresentation of a DeviceN color space.classDeviceRgbColor space to specify colors according to RGB color model.classIccBasedRepresentation on an ICC Based color space.classIndexedRepresentation of an indexed color space.classLabRepresentation of a lab color space.classPatternColorRepresentation of a Pattern Color.classSeparationRepresentation of a separation color space.Fields in com.itextpdf.kernel.colors declared as Color Modifier and Type Field Description static ColorColorConstants. BLACKPredefined black DeviceRgb colorstatic ColorDeviceRgb. BLACKPredefined black DeviceRgb colorstatic ColorColorConstants. BLUEPredefined blue DeviceRgb colorstatic ColorDeviceRgb. BLUEPredefined blue DeviceRgb colorstatic ColorColorConstants. CYANPredefined cyan DeviceRgb colorstatic ColorColorConstants. DARK_GRAYPredefined dark gray DeviceRgb colorstatic ColorColorConstants. GRAYPredefined gray DeviceRgb colorstatic ColorColorConstants. GREENPredefined green DeviceRgb colorstatic ColorDeviceRgb. GREENPredefined green DeviceRgb colorstatic ColorColorConstants. LIGHT_GRAYPredefined light gray DeviceRgb colorstatic ColorColorConstants. MAGENTAPredefined magenta DeviceRgb colorstatic ColorColorConstants. ORANGEPredefined orange DeviceRgb colorstatic ColorColorConstants. PINKPredefined pink DeviceRgb colorstatic ColorColorConstants. REDPredefined red DeviceRgb colorstatic ColorDeviceRgb. REDPredefined red DeviceRgb colorprivate ColorPatternColor. underlyingColorstatic ColorColorConstants. WHITEPredefined white DeviceRgb colorstatic ColorDeviceRgb. WHITEPredefined white DeviceRgb colorstatic ColorColorConstants. YELLOWPredefined yellow DeviceRgb colorMethods in com.itextpdf.kernel.colors that return Color Modifier and Type Method Description static ColorColor. createColorWithColorSpace(float[] colorValue)Creates a color object based on the passed through values.static ColorColor. makeColor(PdfColorSpace colorSpace)Makes a Color of certain color space.static ColorColor. makeColor(PdfColorSpace colorSpace, float[] colorValue)Makes a Color of certain color space and color value.Constructors in com.itextpdf.kernel.colors with parameters of type Color Constructor Description PatternColor(PdfPattern.Tiling uncoloredPattern, Color color)Creates a pattern color using the given uncolored pattern object and color. -
Uses of Color in com.itextpdf.kernel.colors.gradients
Methods in com.itextpdf.kernel.colors.gradients that return Color Modifier and Type Method Description ColorAbstractLinearGradientBuilder. buildColor(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document)Builds theColorobject representing the linear gradient with specified configuration that fills the target bounding box. -
Uses of Color in com.itextpdf.kernel.pdf
Methods in com.itextpdf.kernel.pdf that return Color Modifier and Type Method Description ColorPdfOutline. getColor()Gets color for the outline entry's text,Ckey.Methods in com.itextpdf.kernel.pdf with parameters of type Color Modifier and Type Method Description voidPdfOutline. setColor(Color color)Sets color for the outline entry’s text,Ckey. -
Uses of Color in com.itextpdf.kernel.pdf.annot
Methods in com.itextpdf.kernel.pdf.annot that return Color Modifier and Type Method Description ColorPdfCircleAnnotation. getInteriorColor()The interior color which is used to fill the annotation's ellipse.ColorPdfLineAnnotation. getInteriorColor()The interior color which is used to fill the annotation's line endings.ColorPdfPolyGeomAnnotation. getInteriorColor()The interior color which is used to fill the annotation's line endings.ColorPdfRedactAnnotation. getInteriorColor()The interior color which is used to fill the redacted region after the affected content has been removed.ColorPdfSquareAnnotation. getInteriorColor()The interior color which is used to fill the annotation's rectangle.static ColorInteriorColorUtil. parseInteriorColor(PdfArray color)The interior color which is used to fill areas specific for different types of annotation.Methods in com.itextpdf.kernel.pdf.annot with parameters of type Color Modifier and Type Method Description PdfAnnotationPdfAnnotation. setColor(Color color)Sets an annotation color. -
Uses of Color in com.itextpdf.kernel.pdf.canvas
Fields in com.itextpdf.kernel.pdf.canvas declared as Color Modifier and Type Field Description private ColorCanvasGraphicsState. fillColorprivate ColorCanvasGraphicsState. strokeColorMethods in com.itextpdf.kernel.pdf.canvas that return Color Modifier and Type Method Description private ColorPdfCanvas. createColor(PdfColorSpace colorSpace, float[] colorValue, PdfPattern pattern)ColorCanvasGraphicsState. getFillColor()Gets the current fill color.ColorCanvasGraphicsState. getStrokeColor()Gets the current stroke color.Methods in com.itextpdf.kernel.pdf.canvas with parameters of type Color Modifier and Type Method Description PdfCanvasPdfCanvas. setColor(Color color, boolean fill)Changes the current color for paths.voidCanvasGraphicsState. setFillColor(Color fillColor)Sets the current fillcolor.PdfCanvasPdfCanvas. setFillColor(Color color)Changes the current color for filling paths.voidCanvasGraphicsState. setStrokeColor(Color strokeColor)Sets the current strokecolor.PdfCanvasPdfCanvas. setStrokeColor(Color color)Changes the current color for stroking paths. -
Uses of Color in com.itextpdf.kernel.pdf.canvas.draw
Fields in com.itextpdf.kernel.pdf.canvas.draw declared as Color Modifier and Type Field Description private ColorDashedLine. colorprivate ColorDottedLine. colorprivate ColorSolidLine. colorMethods in com.itextpdf.kernel.pdf.canvas.draw that return Color Modifier and Type Method Description ColorDashedLine. getColor()ColorDottedLine. getColor()ColorILineDrawer. getColor()Gets the color of the lineColorSolidLine. getColor()Methods in com.itextpdf.kernel.pdf.canvas.draw with parameters of type Color Modifier and Type Method Description voidDashedLine. setColor(Color color)voidDottedLine. setColor(Color color)voidILineDrawer. setColor(Color color)Sets line colorvoidSolidLine. setColor(Color color) -
Uses of Color in com.itextpdf.kernel.pdf.canvas.parser
Methods in com.itextpdf.kernel.pdf.canvas.parser that return Color Modifier and Type Method Description private static ColorPdfCanvasProcessor. getColor(int nOperands, java.util.List<PdfObject> operands)Gets a color based on a list of operands.private static ColorPdfCanvasProcessor. getColor(PdfColorSpace pdfColorSpace, java.util.List<PdfObject> operands, PdfResources resources)Gets a color based on a list of operands and Color space. -
Uses of Color in com.itextpdf.kernel.pdf.canvas.parser.data
Methods in com.itextpdf.kernel.pdf.canvas.parser.data that return Color Modifier and Type Method Description ColorPathRenderInfo. getFillColor()Gets the path's fill color.ColorTextRenderInfo. getFillColor()ColorPathRenderInfo. getStrokeColor()Gets the path's stroke color.ColorTextRenderInfo. getStrokeColor() -
Uses of Color in com.itextpdf.kernel.pdf.canvas.wmf
Fields in com.itextpdf.kernel.pdf.canvas.wmf declared as Color Modifier and Type Field Description (package private) ColorMetaBrush. color(package private) ColorMetaPen. colorprivate ColorMetaState. currentBackgroundColorThe current background color.private ColorMetaState. currentTextColorCurrent text color.Methods in com.itextpdf.kernel.pdf.canvas.wmf that return Color Modifier and Type Method Description ColorMetaBrush. getColor()Get the color of the MetaBrush.ColorMetaPen. getColor()Get the color of the MetaPen.ColorMetaState. getCurrentBackgroundColor()Getter for property currentBackgroundColor.ColorMetaState. getCurrentTextColor()Getter for property currentTextColor.ColorInputMeta. readColor()Read the nextColorfrom the InputStream.Methods in com.itextpdf.kernel.pdf.canvas.wmf with parameters of type Color Modifier and Type Method Description voidMetaState. setCurrentBackgroundColor(Color currentBackgroundColor)Setter for property currentBackgroundColor.voidMetaState. setCurrentTextColor(Color currentTextColor)Setter for property currentTextColor. -
Uses of Color in com.itextpdf.kernel.utils.annotationsflattening
Methods in com.itextpdf.kernel.utils.annotationsflattening that return Color Modifier and Type Method Description protected ColorAbstractTextMarkupAnnotationFlattener. getColor(PdfAnnotation annotation) -
Uses of Color in com.itextpdf.layout
Methods in com.itextpdf.layout that return Color Modifier and Type Method Description ColorElementPropertyContainer. getStrokeColor()Deprecated.in favour ofElementPropertyContainer.getTransparentStrokeColor()which should be renamed togetStrokeColorafter this method will be removedMethods in com.itextpdf.layout with parameters of type Color Modifier and Type Method Description TElementPropertyContainer. setBackgroundColor(Color backgroundColor)Specifies a background color for the Element.TElementPropertyContainer. setBackgroundColor(Color backgroundColor, float opacity)Specifies a background color for the Element.TElementPropertyContainer. 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.TElementPropertyContainer. 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.TElementPropertyContainer. setFontColor(Color fontColor)Sets the font color of this Element.TElementPropertyContainer. setFontColor(Color fontColor, float opacity)Sets the font color of this Element and the opacity of the text.TElementPropertyContainer. setStrokeColor(Color strokeColor)Sets the stroke color for the current element.TElementPropertyContainer. setStrokeColor(Color strokeColor, float opacity)Sets the stroke color for the current element.TElementPropertyContainer. setUnderline(Color color, float opacity, float thickness, float thicknessMul, float yPosition, float yPositionMul, int lineCapStyle)Sets horizontal line that can be an underline or a strikethrough.TElementPropertyContainer. 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
Methods in com.itextpdf.layout.borders that return Color Modifier and Type Method Description ColorBorder. getColor()protected ColorBorder3D. getDarkerColor()Makes theBorder.transparentColorcolor of the border darker and returns the resultMethods in com.itextpdf.layout.borders with parameters of type Color Modifier and Type Method Description voidBorder. setColor(Color color)Constructors in com.itextpdf.layout.borders with parameters of type Color Constructor Description Border(Color color, float width)Border(Color color, float width, float opacity)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
Fields in com.itextpdf.layout.properties declared as Color Modifier and Type Field Description private ColorTransparentColor. colorMethods in com.itextpdf.layout.properties that return Color Modifier and Type Method Description ColorBackground. getColor()Gets the background's color.ColorTransparentColor. getColor()Gets the color.ColorUnderline. getColor()Gets the color of the underline.Constructors in com.itextpdf.layout.properties with parameters of type Color Constructor Description Background(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 newTransparentColorinstance 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
Methods in com.itextpdf.layout.renderer that return Color Modifier and Type Method Description ColorAbstractRenderer. getPropertyAsColor(int property)Returns a property with a certain key, as a color. -
Uses of Color in com.itextpdf.pdfa.checker
Methods in com.itextpdf.pdfa.checker with parameters of type Color Modifier and Type Method Description voidPdfA1Checker. checkColor(CanvasGraphicsState graphicsState, Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream stream)This method checks compliance with the color restrictions imposed by the available color spaces in the document.voidPdfA2Checker. checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, java.lang.Boolean fill, PdfStream contentStream)This method checks compliance with the color restrictions imposed by the available color spaces in the document.abstract voidPdfAChecker. checkColor(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, java.lang.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.svg.renderers
Methods in com.itextpdf.svg.renderers that return Color Modifier and Type Method Description ColorISvgPaintServer. createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)Creates theColorthat represents the corresponding paint server for specified object box. -
Uses of Color in com.itextpdf.svg.renderers.impl
Fields in com.itextpdf.svg.renderers.impl declared as Color Modifier and Type Field Description (package private) ColorAbstractSvgNodeRenderer.FillProperties. color(package private) ColorAbstractSvgNodeRenderer.StrokeProperties. colorMethods in com.itextpdf.svg.renderers.impl that return Color Modifier and Type Method Description ColorLinearGradientSvgNodeRenderer. createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)ColorPatternSvgNodeRenderer. createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)ColorAbstractSvgNodeRenderer.FillProperties. getColor()ColorAbstractSvgNodeRenderer.StrokeProperties. getColor()Constructors in com.itextpdf.svg.renderers.impl with parameters of type Color Constructor Description FillProperties(float opacity, Color color)StrokeProperties(Color color, float width, float opacity, SvgStrokeParameterConverter.PdfLineDashParameters lineDashParameters) -
Uses of Color in com.itextpdf.svg.utils
Fields in com.itextpdf.svg.utils declared as Color Modifier and Type Field Description private ColorSvgTextProperties. fillColorprivate ColorSvgTextProperties. strokeColorMethods in com.itextpdf.svg.utils that return Color Modifier and Type Method Description ColorSvgTextProperties. getFillColor()Gets text fill color.ColorSvgTextProperties. getStrokeColor()Gets text stroke color.Methods in com.itextpdf.svg.utils with parameters of type Color Modifier and Type Method Description private static voidSvgTextUtil. addUnderline(SvgDrawContext context, java.util.List<Underline> underlineList, Color strokeColor, float strokeOpacity, Color fillColor, float fillOpacity, float textDecorationLine, boolean doFill, boolean doStroke)SvgTextPropertiesSvgTextProperties. setFillColor(Color fillColor)Sets text fill color.SvgTextPropertiesSvgTextProperties. setStrokeColor(Color strokeColor)Sets text stroke color.
-