public static enum JahiaImageService.ResizeType extends Enum<JahiaImageService.ResizeType>
| Enum Constant and Description |
|---|
ADJUST_SIZE |
ASPECT_FILL |
ASPECT_FIT |
SCALE_TO_FILL |
| Modifier and Type | Method and Description |
|---|---|
static JahiaImageService.ResizeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JahiaImageService.ResizeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JahiaImageService.ResizeType ADJUST_SIZE
public static final JahiaImageService.ResizeType SCALE_TO_FILL
public static final JahiaImageService.ResizeType ASPECT_FILL
public static final JahiaImageService.ResizeType ASPECT_FIT
public static JahiaImageService.ResizeType[] values()
for (JahiaImageService.ResizeType c : JahiaImageService.ResizeType.values()) System.out.println(c);
public static JahiaImageService.ResizeType 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 nullCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.