Package | Description |
---|---|
com.groupdocs.editor.htmlcss.resources.fonts |
The com.groupdocs.editor.htmlcss.resources.fonts namespace provides classes that represent font resources.
|
Modifier and Type | Method and Description |
---|---|
FontType |
FontType.Clone()
Deprecated.
|
static FontType |
FontType.getEot()
Represents a EOT (Embedded OpenType) font type
|
static FontType |
FontType.getFirstDefined(FontType... fonts)
Returns a first font type from specified set, which is not an "Undefined"
value, or "Undefined" font type otherwise (when all items are
"Undefined")
|
static FontType |
FontType.getOtf()
Represents a OTF (OpenType Font) font type
|
static FontType |
FontType.getTtf()
Represents a TTF (TrueType Font) font type
|
FontType |
EotFont.getType()
Returns FontType.Eot
|
abstract FontType |
FontResourceBase.getType()
In implementing type should return information about type of specific
font resource as an instance of specific FontType type, which
encapsulates all type-specific info
|
FontType |
OtfFont.getType()
Returns
FontType.Otf (getOtf() ) |
FontType |
TtfFont.getType()
Returns FontType.Ttf
|
FontType |
Woff2Font.getType()
Returns FontType.Woff2
|
FontType |
WoffFont.getType()
Returns FontType.Woff
|
static FontType |
FontType.getUndefined()
Special value, which marks undefined, unknown or unsupported font
resource
|
static FontType |
FontType.getWoff()
Represents a WOFF (Web Open Font Format) font type
|
static FontType |
FontType.getWoff2()
Represents a WOFF2 (Web Open Font Format version 2) font type
|
static FontType |
FontType.parseFromCssName(String name)
Returns FontType value, which is equivalent of specified CSS-compatible
name of the font type
|
static FontType |
FontType.parseFromFilenameWithExtension(String filename)
Returns FontType value, which is equivalent of filename extension, which
is extracted from specified filename
|
static FontType |
FontType.parseFromMime(String mimeCode)
Returns FontType value, which is equivalent of specified MIME-code
|
Modifier and Type | Method and Description |
---|---|
void |
FontType.CloneTo(FontType that)
Deprecated.
|
boolean |
FontType.equals(FontType other)
Determines whether this instance is equal with specified "FontType"
instance
|
static FontType |
FontType.getFirstDefined(FontType... fonts)
Returns a first font type from specified set, which is not an "Undefined"
value, or "Undefined" font type otherwise (when all items are
"Undefined")
|
static boolean |
FontType.notEquals(FontType obj1,
FontType obj2)
Deprecated.
|
static boolean |
FontType.op_Equality(FontType first,
FontType second)
Checks whether two "FontType" values are equal
|
static boolean |
FontType.op_Inequality(FontType first,
FontType second)
Checks whether two "FontType" values are not equal
|