public static enum CssFontFace.FontFormat extends Enum<CssFontFace.FontFormat>
Enum Constant and Description |
---|
EOT
"embedded-opentype"
|
None |
OpenType
"opentype"
|
SVG
"svg"
|
TrueType
"truetype"
|
WOFF
"woff"
|
WOFF2
"woff2"
|
Modifier and Type | Method and Description |
---|---|
static CssFontFace.FontFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssFontFace.FontFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final CssFontFace.FontFormat None
public static final CssFontFace.FontFormat TrueType
public static final CssFontFace.FontFormat OpenType
public static final CssFontFace.FontFormat WOFF
public static final CssFontFace.FontFormat WOFF2
public static final CssFontFace.FontFormat EOT
public static final CssFontFace.FontFormat SVG
public static CssFontFace.FontFormat[] values()
for (CssFontFace.FontFormat c : CssFontFace.FontFormat.values()) System.out.println(c);
public static CssFontFace.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 name
NullPointerException
- if the argument is null
Copyright © 1998–2021 iText Group NV. All rights reserved.