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 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 © 2021. All rights reserved.