public static enum SVGCssContentTypeLength.Unit extends Enum<SVGCssContentTypeLength.Unit>
| Enum Constant and Description |
|---|
CENTIMETER
Meaning the value is defined in centimeters.
|
INCH
Meaning the value is defined in inches.
|
MILLIMETER
Meaning the value is defined in millimeters.
|
NONE
Meaning the length type is not specified.
|
PERCENT
Meaning the value is defined in percentage.
|
PICAS
Meaning the value is defined in picas.
|
PIXEL
Meaning the value is defined in pixel.
|
POINT
Meaning the value is defined in points.
|
RELATIVE_HEIGHT
Meaning the value is defined in relative size to its current height.
|
RELATIVE_SELF
Meaning the value is defined in relative size to its current size.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the
name. |
static SVGCssContentTypeLength.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SVGCssContentTypeLength.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SVGCssContentTypeLength.Unit NONE
public static final SVGCssContentTypeLength.Unit RELATIVE_SELF
public static final SVGCssContentTypeLength.Unit RELATIVE_HEIGHT
public static final SVGCssContentTypeLength.Unit PIXEL
public static final SVGCssContentTypeLength.Unit INCH
public static final SVGCssContentTypeLength.Unit CENTIMETER
public static final SVGCssContentTypeLength.Unit MILLIMETER
public static final SVGCssContentTypeLength.Unit POINT
public static final SVGCssContentTypeLength.Unit PICAS
public static final SVGCssContentTypeLength.Unit PERCENT
public static SVGCssContentTypeLength.Unit[] values()
for (SVGCssContentTypeLength.Unit c : SVGCssContentTypeLength.Unit.values()) System.out.println(c);
public static SVGCssContentTypeLength.Unit 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 © 2016 Saxonia Systems AG. All rights reserved.