public enum BarcodeWordsStyle extends Enum<BarcodeWordsStyle>
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
| 枚举常量和说明 |
|---|
BOLD
粗体
|
BOLD_ITALIC
粗体斜体
|
ITALIC
斜体
|
NORMAL
正常
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getStyle()
获取样式
|
static BarcodeWordsStyle |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BarcodeWordsStyle[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BarcodeWordsStyle NORMAL
public static final BarcodeWordsStyle BOLD
public static final BarcodeWordsStyle ITALIC
public static final BarcodeWordsStyle BOLD_ITALIC
public static BarcodeWordsStyle[] values()
for (BarcodeWordsStyle c : BarcodeWordsStyle.values()) System.out.println(c);
public static BarcodeWordsStyle valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getStyle()
Copyright © 2024. All rights reserved.