Class FXGFontSearchAttributes
- java.lang.Object
-
- com.adobe.fontengine.fontmanagement.fxg.FXGFontSearchAttributes
-
public class FXGFontSearchAttributes extends Object
A search request for a font using FXG terms.
-
-
Constructor Summary
Constructors Constructor Description FXGFontSearchAttributes(String platformName, boolean isBold, boolean isItalic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetFamilyName()Get the font family name used for FXG.inthashCode()booleanisBold()Tests whether the font is bold in FXG terms.booleanisItalic()Tests whether the font is italic in FXG terms.StringtoString()
-
-
-
Constructor Detail
-
FXGFontSearchAttributes
public FXGFontSearchAttributes(String platformName, boolean isBold, boolean isItalic)
- Parameters:
platformName-isBold-isItalic-
-
-
Method Detail
-
getFamilyName
public String getFamilyName()
Get the font family name used for FXG.- Returns:
- the font family name
-
isBold
public boolean isBold()
Tests whether the font is bold in FXG terms.- Returns:
trueif the font is bold;falseotherwise
-
isItalic
public boolean isItalic()
Tests whether the font is italic in FXG terms.- Returns:
trueif the font is italic;falseotherwise
-
-