| Enum Constant and Description |
|---|
Fill
The content is resized to fill the control size, without preserving aspect ratio.
|
None
The content preserves its original size.
|
Uniform
The content is resized to fit the control size, preserving aspect ratio.
|
UniformToFill
The content is resized to fill the control size, preserving aspect ratio.
|
| Modifier and Type | Method and Description |
|---|---|
static Stretch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Stretch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stretch None
public static final Stretch Fill
public static final Stretch Uniform
public static final Stretch UniformToFill
public static Stretch[] values()
for (Stretch c : Stretch.values()) System.out.println(c);
public static Stretch 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 null