public enum PrintScaling extends Enum<PrintScaling>
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.
| 枚举常量和说明 |
|---|
ACTUAL_SIZE
实际尺寸
|
SCALE_TO_FIT
缩放至合适
|
SHRINK_TO_FIT
缩小填充
|
STRETCH_TO_FIT
拉伸填充
|
public static final PrintScaling ACTUAL_SIZE
public static final PrintScaling SHRINK_TO_FIT
public static final PrintScaling STRETCH_TO_FIT
public static final PrintScaling SCALE_TO_FIT
public static PrintScaling[] values()
for (PrintScaling c : PrintScaling.values()) System.out.println(c);
public static PrintScaling valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024. All rights reserved.