public enum ScaleType extends Enum<ScaleType>
Enum Constant and Description |
---|
AREA_AVERAGING
Area Averaging算法
|
DEFAULT
默认
|
FAST
快速
|
REPLICATE
使用 ReplicateScaleFilter 类中包含的图像缩放算法
|
SMOOTH
平滑
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
获取值
|
static ScaleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScaleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleType DEFAULT
public static final ScaleType FAST
public static final ScaleType SMOOTH
public static final ScaleType REPLICATE
public static final ScaleType AREA_AVERAGING
public static ScaleType[] values()
for (ScaleType c : ScaleType.values()) System.out.println(c);
public static ScaleType 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 int getValue()
Copyright © 2025. All rights reserved.