| 限定符和类型 | 方法和说明 |
|---|---|
FontStyle |
Document.getFontStyle()
获取字体样式
|
FontStyle |
Page.getFontStyle()
获取字体样式
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Document.setFontStyle(FontStyle style)
设置字体样式
|
void |
Page.setFontStyle(FontStyle style)
设置字体样式
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected FontStyle |
FontConfiguration.fontStyle
字体样式
|
| 限定符和类型 | 方法和说明 |
|---|---|
FontStyle |
Textarea.getFontStyle()
获取字体样式
|
FontStyle |
TextareaWatermark.getFontStyle()
获取字体样式
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Textarea.setFontStyle(FontStyle style)
设置字体样式
|
void |
TextareaWatermark.setFontStyle(FontStyle style)
设置字体样式
|
| 限定符和类型 | 方法和说明 |
|---|---|
static FontStyle |
FontStyle.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static FontStyle[] |
FontStyle.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 字段和说明 |
|---|---|
static FontStyle |
Constants.DEFAULT_FONT_STYLE
默认字体样式
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
CommonUtil.initFontColorAndAlpha(org.apache.pdfbox.pdmodel.PDPageContentStream stream,
Color backgroundColor,
FontStyle fontStyle,
Color fontColor,
Color strokColor,
float fontAlpha)
初始化字体颜色及透明度
|
static float |
CommonUtil.initLineWidth(FontStyle style)
初始化线宽
|
Copyright © 2024. All rights reserved.