public static enum BackgroundRepeat.BackgroundRepeatValue extends Enum<BackgroundRepeat.BackgroundRepeatValue>
Enum Constant and Description |
---|
NO_REPEAT
The no repeat value which mean that the background will not be repeated, but displayed once with its original size.
|
REPEAT
The repeat value which means that the background with its original size will be repeated over the entire available space.
|
ROUND
The round value which mean that the background will stretch or compress.
|
SPACE
The space value which means that the background will be repeated as much as possible with its original size and without cropping.
|
Modifier and Type | Method and Description |
---|---|
static BackgroundRepeat.BackgroundRepeatValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundRepeat.BackgroundRepeatValue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final BackgroundRepeat.BackgroundRepeatValue NO_REPEAT
public static final BackgroundRepeat.BackgroundRepeatValue REPEAT
public static final BackgroundRepeat.BackgroundRepeatValue ROUND
public static final BackgroundRepeat.BackgroundRepeatValue SPACE
public static BackgroundRepeat.BackgroundRepeatValue[] values()
for (BackgroundRepeat.BackgroundRepeatValue c : BackgroundRepeat.BackgroundRepeatValue.values()) System.out.println(c);
public static BackgroundRepeat.BackgroundRepeatValue valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
Copyright © 1998–2021 iText Group NV. All rights reserved.