public enum UpdateMode extends Enum<UpdateMode>
Enum Constant and Description |
---|
CenterScale |
FixedPixel |
MinMax |
MinScale |
Modifier and Type | Method and Description |
---|---|
boolean |
isScalePreserving() |
static UpdateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateMode MinMax
public static final UpdateMode MinScale
public static final UpdateMode CenterScale
public static final UpdateMode FixedPixel
public static UpdateMode[] values()
for (UpdateMode c : UpdateMode.values()) System.out.println(c);
public static UpdateMode 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 boolean isScalePreserving()
Copyright © 2018 Metron, Inc.. All rights reserved.