public final class FXGFontDescription extends FontDescription
| Constructor and Description |
|---|
FXGFontDescription(Platform platform,
ULocale locale,
String familyName,
boolean isBold,
boolean isItalic)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFamilyName()
Get the font family name used for FXG.
|
ULocale |
getLocale()
Get the locale that this description is for.
|
Platform |
getPlatform()
Get the platform that this description is for.
|
int |
hashCode() |
boolean |
isBold()
Tests whether the font is bold in FXG terms.
|
boolean |
isItalic()
Tests whether the font is italic in FXG terms.
|
String |
toString() |
public FXGFontDescription(Platform platform, ULocale locale, String familyName, boolean isBold, boolean isItalic)
platform - the platform that this description is forfamilyName - the FXG font family nameisBold - true if the font is bold; false otherwiseisItalic - true if the font is italic; false otherwisepublic Platform getPlatform()
public ULocale getLocale()
public String getFamilyName()
public boolean isBold()
true if the font is bold; false otherwisepublic boolean isItalic()
true if the font is italic; false otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved