public enum GradientSpreadMethod extends Enum<GradientSpreadMethod>
Enum Constant and Description |
---|
NONE
No coloring outside of the coordinates vector
|
PAD
Pad the corner colors to fill the necessary area
|
REFLECT
Reflect the coloring to fill the necessary area
|
REPEAT
Repeat the coloring to fill the necessary area
|
Modifier and Type | Method and Description |
---|---|
static GradientSpreadMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientSpreadMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GradientSpreadMethod PAD
public static final GradientSpreadMethod REFLECT
public static final GradientSpreadMethod REPEAT
public static final GradientSpreadMethod NONE
public static GradientSpreadMethod[] values()
for (GradientSpreadMethod c : GradientSpreadMethod.values()) System.out.println(c);
public static GradientSpreadMethod 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–2020 iText Group NV. All rights reserved.