public static enum SecureInputBuilder.ImageMode extends Enum<SecureInputBuilder.ImageMode>
Enum Constant and Description |
---|
CENTER
Image is centered to the screen without changing the dimension.
|
STRETCH
Image is centered, and stretching algorithm applied to scale the image to either
the biggest between width and height of image and screen and then crop everything that goes beyond the screen.
|
TILE
Image is repeated to fill entire screen without changing its dimensions starting from the upper left of the screen.
|
Modifier and Type | Method and Description |
---|---|
static SecureInputBuilder.ImageMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecureInputBuilder.ImageMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecureInputBuilder.ImageMode CENTER
public static final SecureInputBuilder.ImageMode STRETCH
public static final SecureInputBuilder.ImageMode TILE
public static SecureInputBuilder.ImageMode[] values()
for (SecureInputBuilder.ImageMode c : SecureInputBuilder.ImageMode.values()) System.out.println(c);
public static SecureInputBuilder.ImageMode 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 null