public static enum GradientColorStop.HintOffsetType extends Enum<GradientColorStop.HintOffsetType>
Enum Constant and Description |
---|
ABSOLUTE_ON_GRADIENT
The absolute hint offset value on the target gradient value
|
NONE
None hint offset specified
|
RELATIVE_BETWEEN_COLORS
The relative hint offset value to the interval between the current gradient stop color and the next one.
|
RELATIVE_ON_GRADIENT
The relative hint offset value to the target coordinates vector.
|
Modifier and Type | Method and Description |
---|---|
static GradientColorStop.HintOffsetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientColorStop.HintOffsetType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GradientColorStop.HintOffsetType ABSOLUTE_ON_GRADIENT
public static final GradientColorStop.HintOffsetType RELATIVE_ON_GRADIENT
0
value means the target vector start, the 1
value means the target vector end.
public static final GradientColorStop.HintOffsetType RELATIVE_BETWEEN_COLORS
public static final GradientColorStop.HintOffsetType NONE
public static GradientColorStop.HintOffsetType[] values()
for (GradientColorStop.HintOffsetType c : GradientColorStop.HintOffsetType.values()) System.out.println(c);
public static GradientColorStop.HintOffsetType 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–2023 iText Group NV. All rights reserved.