public enum ImageAspectRatio extends java.lang.Enum<ImageAspectRatio>
Enum Constant and Description |
---|
BANNER |
ORIGINAL |
SIZE_16_9 |
SIZE_4_3 |
SIZE_5_4 |
SIZE_6_4 |
SQUARE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
double |
getValue() |
static ImageAspectRatio |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageAspectRatio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageAspectRatio ORIGINAL
public static final ImageAspectRatio SQUARE
public static final ImageAspectRatio BANNER
public static final ImageAspectRatio SIZE_5_4
public static final ImageAspectRatio SIZE_4_3
public static final ImageAspectRatio SIZE_6_4
public static final ImageAspectRatio SIZE_16_9
public static ImageAspectRatio[] values()
for (ImageAspectRatio c : ImageAspectRatio.values()) System.out.println(c);
public static ImageAspectRatio 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 nullpublic java.lang.String getName()
public double getValue()
Copyright © 2001-2022 Jalios SA. All Rights Reserved.