public enum GradientStyle extends java.lang.Enum<GradientStyle>
| Enum Constant and Description |
|---|
DiagonalDown
Specifies a diagonal gradient moving from a top corner down to the opposite corner.
|
DiagonalUp
Specifies a diagonal gradient moving from a bottom corner up to the opposite corner.
|
FromCenter
Specifies a gradient running from the center out to the corners.
|
FromCorner
Specifies a gradient running from a corner to the other three corners.
|
FromTitle
Specifies a gradient running from the title outward.
|
Horizontal
Specifies a gradient running horizontally across the shape.
|
Mixed
Gradient is mixed.
|
Vertical
Specifies a gradient running vertically down the shape.
|
| Modifier and Type | Method and Description |
|---|---|
static GradientStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GradientStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientStyle Horizontal
public static final GradientStyle Vertical
public static final GradientStyle DiagonalUp
public static final GradientStyle DiagonalDown
public static final GradientStyle FromCorner
public static final GradientStyle FromTitle
public static final GradientStyle FromCenter
public static final GradientStyle Mixed
public static GradientStyle[] values()
for (GradientStyle c : GradientStyle.values()) System.out.println(c);
public static GradientStyle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null