public static enum SVGOptions.FontFormat extends Enum<SVGOptions.FontFormat>
Enum Constant and Description |
---|
SVG
SVG format fonts (embedded only & not supported by some browsers)
|
TrueType
TrueType / OpenType (uncompressed)
|
WOFF1
WOFF v1 Compressed TrueType [default]
|
Modifier and Type | Method and Description |
---|---|
static SVGOptions.FontFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SVGOptions.FontFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SVGOptions.FontFormat SVG
public static final SVGOptions.FontFormat TrueType
public static final SVGOptions.FontFormat WOFF1
public static SVGOptions.FontFormat[] values()
for (SVGOptions.FontFormat c : SVGOptions.FontFormat.values()) System.out.println(c);
public static SVGOptions.FontFormat 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 null