public static enum GradientColorStop.OffsetType extends Enum<GradientColorStop.OffsetType>
Enum Constant and Description |
---|
ABSOLUTE
The absolute offset value from the target coordinates vector's start
|
AUTO
The automatic offset evaluation.
|
RELATIVE
The relative offset value to the target coordinates vector.
|
Modifier and Type | Method and Description |
---|---|
static GradientColorStop.OffsetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientColorStop.OffsetType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GradientColorStop.OffsetType ABSOLUTE
public static final GradientColorStop.OffsetType AUTO
public static final GradientColorStop.OffsetType RELATIVE
0
value means the target vector start, the 1
value means the target vector end.
public static GradientColorStop.OffsetType[] values()
for (GradientColorStop.OffsetType c : GradientColorStop.OffsetType.values()) System.out.println(c);
public static GradientColorStop.OffsetType 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.