public enum SVGUnits extends Enum<SVGUnits>
| Enum Constant and Description |
|---|
CM
Centimeters.
|
EM
The font size.
|
EX
Height of character 'x'.
|
IN
Inches.
|
MM
Millimeters.
|
PC
Picas (1/6 inch).
|
PT
Points (1/72 inch).
|
PX
Pixels in user space coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SVGUnits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SVGUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SVGUnits EM
public static final SVGUnits EX
public static final SVGUnits PX
public static final SVGUnits PT
public static final SVGUnits PC
public static final SVGUnits CM
public static final SVGUnits MM
public static final SVGUnits IN
public static SVGUnits[] values()
for (SVGUnits c : SVGUnits.values()) System.out.println(c);
public static SVGUnits 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. All rights reserved.