Modifier and Type | Method and Description |
---|---|
PdfFormXObject |
Barcode1D.createFormXObject(Color barColor, Color textColor, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodePDF417.createFormXObject(Color foreground, float moduleWidth, float moduleHeight, PdfDocument document)
Creates a PdfFormXObject with the barcode with given module width and module height.
|
PdfFormXObject |
BarcodeDataMatrix.createFormXObject(Color foreground, float moduleSide, PdfDocument document)
Creates a PdfFormXObject with the barcode with given module width and module height.
|
PdfFormXObject |
BarcodeQRCode.createFormXObject(Color foreground, float moduleSize, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
abstract PdfFormXObject |
Barcode2D.createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodeDataMatrix.createFormXObject(Color foreground, PdfDocument document) |
PdfFormXObject |
BarcodePDF417.createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
PdfFormXObject |
BarcodeQRCode.createFormXObject(Color foreground, PdfDocument document)
Creates a PdfFormXObject with the barcode.
|
abstract Rectangle |
Barcode2D.placeBarcode(PdfCanvas canvas, Color foreground)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground) |
Rectangle |
Barcode128.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
abstract Rectangle |
Barcode1D.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
Barcode39.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeCodabar.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEAN.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeEANSUPP.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeInter25.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodeMSI.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor)
Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePostnet.placeBarcode(PdfCanvas canvas, Color barColor, Color textColor) |
Rectangle |
BarcodeDataMatrix.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide) |
Rectangle |
BarcodeQRCode.placeBarcode(PdfCanvas canvas, Color foreground, float moduleSide)
* Places the barcode in a PdfCanvas .
|
Rectangle |
BarcodePDF417.placeBarcode(PdfCanvas canvas, Color foreground, float moduleWidth, float moduleHeight) |
Modifier and Type | Field and Description |
---|---|
protected Color |
PdfFormField.backgroundColor |
protected Color |
PdfFormField.borderColor |
protected Color |
PdfFormField.color |
Modifier and Type | Method and Description |
---|---|
Color |
PdfFormField.getColor()
Gets the current color of the form field.
|
Modifier and Type | Method and Description |
---|---|
PdfFormField |
PdfFormField.setBackgroundColor(Color backgroundColor)
Basic setter for the backgroundColor property.
|
PdfFormField |
PdfFormField.setBorderColor(Color color)
Sets the Border Color.
|
PdfFormField |
PdfFormField.setColor(Color color)
Sets the text color.
|
Modifier and Type | Method and Description |
---|---|
static Border |
FormBorderFactory.getBorder(PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor)
Returns Border for specific borderStyle.
|
Modifier and Type | Class and Description |
---|---|
class |
CalGray |
class |
CalRgb |
class |
DeviceCmyk
Color space to specify colors according to CMYK color model.
|
class |
DeviceGray
Color space to specify shades of gray color.
|
class |
DeviceN |
class |
DeviceRgb
Color space to specify colors according to RGB color model.
|
class |
IccBased |
class |
Indexed |
class |
Lab |
class |
PatternColor |
class |
Separation |
Modifier and Type | Field and Description |
---|---|
static Color |
ColorConstants.BLACK
Predefined black DeviceRgb color
|
static Color |
DeviceRgb.BLACK
Predefined black DeviceRgb color
|
static Color |
ColorConstants.BLUE
Predefined blue DeviceRgb color
|
static Color |
DeviceRgb.BLUE
Predefined blue DeviceRgb color
|
static Color |
ColorConstants.CYAN
Predefined cyan DeviceRgb color
|
static Color |
ColorConstants.DARK_GRAY
Predefined dark gray DeviceRgb color
|
static Color |
ColorConstants.GRAY
Predefined gray DeviceRgb color
|
static Color |
ColorConstants.GREEN
Predefined green DeviceRgb color
|
static Color |
DeviceRgb.GREEN
Predefined green DeviceRgb color
|
static Color |
ColorConstants.LIGHT_GRAY
Predefined light gray DeviceRgb color
|
static Color |
ColorConstants.MAGENTA
Predefined magenta DeviceRgb color
|
static Color |
ColorConstants.ORANGE
Predefined orange DeviceRgb color
|
static Color |
ColorConstants.PINK
Predefined pink DeviceRgb color
|
static Color |
ColorConstants.RED
Predefined red DeviceRgb color
|
static Color |
DeviceRgb.RED
Predefined red DeviceRgb color
|
static Color |
ColorConstants.WHITE
Predefined white DeviceRgb color
|
static Color |
DeviceRgb.WHITE
Predefined white DeviceRgb color
|
static Color |
ColorConstants.YELLOW
Predefined yellow DeviceRgb color
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Constructor and Description |
---|
PatternColor(PdfPattern.Tiling uncoloredPattern, Color color) |
Modifier and Type | Method and Description |
---|---|
Color |
AbstractLinearGradientBuilder.buildColor(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document)
Builds the Color object representing the linear gradient with specified configuration that fills the target bounding box.
|
Modifier and Type | Method and Description |
---|---|
Color |
PdfOutline.getColor()
Gets color for the outline entry's text, C key.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfOutline.setColor(Color color)
Sets color for the outline entry’s text, C key.
|
Modifier and Type | Method and Description |
---|---|
Color |
PdfCircleAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's ellipse.
|
Color |
PdfLineAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.
|
Color |
PdfPolyGeomAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's line endings.
|
Color |
PdfRedactAnnotation.getInteriorColor()
The interior color which is used to fill the redacted region after the affected content has been removed.
|
Color |
PdfSquareAnnotation.getInteriorColor()
The interior color which is used to fill the annotation's rectangle.
|
Modifier and Type | Method and Description |
---|---|
PdfAnnotation |
PdfAnnotation.setColor(Color color)
Sets an annotation color.
|
Modifier and Type | Method and Description |
---|---|
Color |
CanvasGraphicsState.getFillColor() |
Color |
CanvasGraphicsState.getStrokeColor() |
Modifier and Type | Method and Description |
---|---|
PdfCanvas |
PdfCanvas.setColor(Color color, boolean fill)
Changes the current color for paths.
|
void |
CanvasGraphicsState.setFillColor(Color fillColor) |
PdfCanvas |
PdfCanvas.setFillColor(Color color)
Changes the current color for filling paths.
|
void |
CanvasGraphicsState.setStrokeColor(Color strokeColor) |
PdfCanvas |
PdfCanvas.setStrokeColor(Color color)
Changes the current color for stroking paths.
|
Modifier and Type | Method and Description |
---|---|
Color |
DashedLine.getColor() |
Color |
DottedLine.getColor() |
Color |
ILineDrawer.getColor()
Gets the color of the line
|
Color |
SolidLine.getColor() |
Modifier and Type | Method and Description |
---|---|
void |
DashedLine.setColor(Color color) |
void |
DottedLine.setColor(Color color) |
void |
ILineDrawer.setColor(Color color)
Sets line color
|
void |
SolidLine.setColor(Color color) |
Modifier and Type | Method and Description |
---|---|
Color |
PathRenderInfo.getFillColor()
Gets the path's fill color.
|
Color |
TextRenderInfo.getFillColor() |
Color |
PathRenderInfo.getStrokeColor()
Gets the path's stroke color.
|
Color |
TextRenderInfo.getStrokeColor() |
Modifier and Type | Field and Description |
---|---|
Color |
MetaState.currentBackgroundColor
The current background color.
|
Color |
MetaState.currentTextColor
Current text color.
|
Modifier and Type | Method and Description |
---|---|
Color |
MetaBrush.getColor()
Get the color of the MetaBrush.
|
Color |
MetaPen.getColor()
Get the color of the MetaPen.
|
Color |
MetaState.getCurrentBackgroundColor()
Getter for property currentBackgroundColor.
|
Color |
MetaState.getCurrentTextColor()
Getter for property currentTextColor.
|
Color |
InputMeta.readColor()
Read the next Color from the InputStream.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaState.setCurrentBackgroundColor(Color currentBackgroundColor)
Setter for property currentBackgroundColor.
|
void |
MetaState.setCurrentTextColor(Color currentTextColor)
Setter for property currentTextColor.
|
Modifier and Type | Method and Description |
---|---|
Color |
ElementPropertyContainer.getStrokeColor()
Gets the stroke color for the current element.
|
Modifier and Type | Method and Description |
---|---|
T |
ElementPropertyContainer.setBackgroundColor(Color backgroundColor)
Specifies a background color for the Element.
|
T |
ElementPropertyContainer.setBackgroundColor(Color backgroundColor, float opacity)
Specifies a background color for the Element.
|
T |
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.
|
T |
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.
|
T |
ElementPropertyContainer.setFontColor(Color fontColor)
Sets the font color of this Element.
|
T |
ElementPropertyContainer.setFontColor(Color fontColor, float opacity)
Sets the font color of this Element and the opacity of the text.
|
T |
ElementPropertyContainer.setStrokeColor(Color strokeColor)
Sets the stroke color for the current element.
|
T |
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.
|
T |
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.
|
Modifier and Type | Method and Description |
---|---|
Color |
Border.getColor()
|
protected Color |
Border3D.getDarkerColor()
Makes the Border.transparentColor color of the border darker and returns the result
|
Modifier and Type | Method and Description |
---|---|
void |
Border.setColor(Color color)
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Color |
Background.getColor()
Gets the background's color.
|
Color |
TransparentColor.getColor()
Gets the color.
|
Color |
Underline.getColor()
Gets the color of the underline.
|
Constructor and 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 opacity, BackgroundBox clip)
Creates a background with a specified color, opacity and clip value.
|
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.
|
TransparentColor(Color color)
Creates a new TransparentColor instance of certain fully opaque color.
|
TransparentColor(Color color, float opacity)
Creates a new TransparentColor .
|
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.
|
Modifier and Type | Method and Description |
---|---|
Color |
AbstractRenderer.getPropertyAsColor(int property)
Returns a property with a certain key, as a color.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
Color |
PdfSignatureAppearance.getLayer2FontColor()
Gets the n2 and n4 layer font color.
|
Modifier and Type | Method and Description |
---|---|
PdfSignatureAppearance |
PdfSignatureAppearance.setLayer2FontColor(Color color)
Sets the n2 and n4 layer font color.
|
Modifier and Type | Method and Description |
---|---|
Color |
ISvgPaintServer.createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity)
Creates the Color that represents the corresponding paint server for specified object box.
|
Modifier and Type | Method and Description |
---|---|
Color |
LinearGradientSvgNodeRenderer.createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) |
Color |
PatternSvgNodeRenderer.createColor(SvgDrawContext context, Rectangle objectBoundingBox, float objectBoundingBoxMargin, float parentOpacity) |
Copyright © 1998–2022 iText Group NV. All rights reserved.