public static enum ImageResource.RepeatStyle extends Enum<ImageResource.RepeatStyle>
Enum Constant and Description |
---|
Both
The image is intended to be tiled both horizontally and vertically.
|
Horizontal
The image is intended to be tiled horizontally.
|
None
The image is not intended to be tiled.
|
Vertical
The image is intended to be tiled vertically.
|
Modifier and Type | Method and Description |
---|---|
static ImageResource.RepeatStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageResource.RepeatStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, toString, valueOf, valueOf
public static final ImageResource.RepeatStyle None
public static final ImageResource.RepeatStyle Horizontal
public static final ImageResource.RepeatStyle Vertical
public static final ImageResource.RepeatStyle Both
public static ImageResource.RepeatStyle[] values()
for (ImageResource.RepeatStyle c : ImageResource.RepeatStyle.values()) System.out.println(c);
public static ImageResource.RepeatStyle 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 © 2018. All rights reserved.