public enum GradientUnit extends Enum<GradientUnit>
SVGAttributeTypeGradientUnits.| Enum Constant and Description |
|---|
OBJECT_BOUNDING_BOX |
USER_SPACE_ON_USE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the
name. |
static GradientUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientUnit USER_SPACE_ON_USE
public static final GradientUnit OBJECT_BOUNDING_BOX
public static GradientUnit[] values()
for (GradientUnit c : GradientUnit.values()) System.out.println(c);
public static GradientUnit 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 nullCopyright © 2017 Saxonia Systems AG. All rights reserved.