public enum BorderRepeat extends Enum<BorderRepeat>
Enum Constant and Description |
---|
REPEAT
The image is tiled (repeated) to fill the area.
|
ROUND
The image is tiled (repeated) and rescaled (if necessary) to fill the area with a whole number of tiles.
|
SPACE
The image is tiled (repeated) to fill the area with a whole number of tiles, and any
extra space is distributed around the tiles.
|
STRETCH
The image is stretched to fill the area.
|
Modifier and Type | Method and Description |
---|---|
static BorderRepeat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderRepeat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderRepeat STRETCH
public static final BorderRepeat REPEAT
public static final BorderRepeat ROUND
public static final BorderRepeat SPACE
public static BorderRepeat[] values()
for (BorderRepeat c : BorderRepeat.values()) System.out.println(c);
public static BorderRepeat 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 (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.