Uses of Record Class
cloud.opencode.base.pdf.content.PdfColor
Packages that use PdfColor
-
Uses of PdfColor in cloud.opencode.base.pdf.content
Fields in cloud.opencode.base.pdf.content declared as PdfColorModifier and TypeFieldDescriptionstatic final PdfColorPdfColor.BLACKBlack color | 黑色static final PdfColorPdfColor.BLUEBlue color | 蓝色static final PdfColorPdfColor.CYANCyan color | 青色static final PdfColorPdfColor.DARK_GRAYDark gray color | 深灰色static final PdfColorPdfColor.GRAYGray color | 灰色static final PdfColorPdfColor.GREENGreen color | 绿色static final PdfColorPdfColor.LIGHT_GRAYLight gray color | 浅灰色static final PdfColorPdfColor.MAGENTAMagenta color | 品红色static final PdfColorPdfColor.ORANGEOrange color | 橙色static final PdfColorPdfColor.REDRed color | 红色static final PdfColorPdfColor.WHITEWhite color | 白色static final PdfColorPdfColor.YELLOWYellow color | 黄色Methods in cloud.opencode.base.pdf.content that return PdfColorModifier and TypeMethodDescriptionPdfColor.darker(float factor) Creates a darker version of this color 创建当前颜色的深色版本static PdfColorCreates color from java.awt.Color 从 java.awt.Color 创建颜色PdfCell.getBackgroundColor()PdfCell.getBorderColor()PdfTable.getBorderColor()PdfLine.getColor()PdfParagraph.getColor()PdfText.getColor()Gets text color 获取文本颜色PdfWatermark.getColor()Gets watermark color 获取水印颜色PdfTable.getEvenRowColor()PdfEllipse.getFillColor()PdfRectangle.getFillColor()PdfTable.getHeaderBackground()PdfTable.getOddRowColor()PdfEllipse.getStrokeColor()PdfRectangle.getStrokeColor()PdfCell.getTextColor()static PdfColorPdfColor.gray(float gray) Creates grayscale color from 0-1 value 从 0-1 值创建灰度颜色static PdfColorPdfColor.gray(int gray) Creates grayscale color 创建灰度颜色static PdfColorCreates color from hex string 从十六进制字符串创建颜色PdfColor.lighter(float factor) Creates a lighter version of this color 创建当前颜色的浅色版本static PdfColorPdfColor.rgb(float r, float g, float b) Creates RGB color from 0-1 values 从 0-1 值创建 RGB 颜色static PdfColorPdfColor.rgb(int r, int g, int b) Creates RGB color from 0-255 values 从 0-255 值创建 RGB 颜色static PdfColorPdfColor.rgba(int r, int g, int b, float alpha) Creates RGBA color with alpha 创建带透明度的 RGBA 颜色PdfColor.withAlpha(float newAlpha) Creates a color with different alpha 创建具有不同透明度的颜色Methods in cloud.opencode.base.pdf.content with parameters of type PdfColorModifier and TypeMethodDescriptionPdfTable.alternateRowColors(PdfColor oddColor, PdfColor evenColor) Sets alternating row colors 设置交替行颜色PdfCell.backgroundColor(PdfColor color) Sets background color 设置背景颜色Sets border 设置边框PdfTable.borderColor(PdfColor color) Sets border color 设置边框颜色PdfTable.Builder.borderColor(PdfColor color) Sets text color 设置文本颜色Sets text color 设置文本颜色Sets watermark color 设置水印颜色PdfTable.Builder.headerBackground(PdfColor color) PdfTable.headerBackground(PdfColor color) Sets header background color 设置表头背景颜色PdfEllipse.strokeColor(PdfColor color) PdfRectangle.strokeColor(PdfColor color) Sets text color 设置文本颜色 -
Uses of PdfColor in cloud.opencode.base.pdf.document
Methods in cloud.opencode.base.pdf.document that return PdfColorModifier and TypeMethodDescriptionPdfFooter.getColor()Gets text color 获取文本颜色PdfHeader.getColor()Gets text color 获取文本颜色Methods in cloud.opencode.base.pdf.document with parameters of type PdfColorModifier and TypeMethodDescriptionSets text color 设置文本颜色Sets text color 设置文本颜色PageBuilder.filledRectangle(float x, float y, float width, float height, PdfColor color) Draws a filled rectangle.