public enum RotationAngle extends Enum<RotationAngle>
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.
Enum Constant and Description |
---|
ROTATION_180
180度
|
ROTATION_270
270度
|
ROTATION_90
90度
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAngle()
获取角度
|
static RotationAngle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RotationAngle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationAngle ROTATION_90
public static final RotationAngle ROTATION_180
public static final RotationAngle ROTATION_270
public static RotationAngle[] values()
for (RotationAngle c : RotationAngle.values()) System.out.println(c);
public static RotationAngle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getAngle()
Copyright © 2024. All rights reserved.