public enum GradientAlignment extends Enum<GradientAlignment>
Modifier and Type | Method and Description |
---|---|
abstract int |
getBottomRectangleHeight(int imageHeight,
int gradientHeight) |
static GradientAlignment |
getByParameter(String string) |
abstract int |
getTopRectangleHeight(int imageHeight,
int gradientHeight) |
static GradientAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientAlignment top
public static final GradientAlignment middle
public static final GradientAlignment bottom
public static GradientAlignment[] values()
for (GradientAlignment c : GradientAlignment.values()) System.out.println(c);
public static GradientAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static final GradientAlignment getByParameter(String string)
public abstract int getTopRectangleHeight(int imageHeight, int gradientHeight)
public abstract int getBottomRectangleHeight(int imageHeight, int gradientHeight)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.