public static enum RendererCommon.ScalingType extends java.lang.Enum<RendererCommon.ScalingType>
Enum Constant and Description |
---|
SCALE_ASPECT_BALANCED |
SCALE_ASPECT_FILL |
SCALE_ASPECT_FIT |
Modifier and Type | Method and Description |
---|---|
static RendererCommon.ScalingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RendererCommon.ScalingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RendererCommon.ScalingType SCALE_ASPECT_FIT
public static final RendererCommon.ScalingType SCALE_ASPECT_FILL
public static final RendererCommon.ScalingType SCALE_ASPECT_BALANCED
public static RendererCommon.ScalingType[] values()
for (RendererCommon.ScalingType c : RendererCommon.ScalingType.values()) System.out.println(c);
public static RendererCommon.ScalingType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null7.0.3