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