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 boolean
equals(Object obj)
String
getFamilyName()
Get the font family name used for FXG.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()
-
-
-
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:
true
if the font is bold;false
otherwise
-
isItalic
public boolean isItalic()
Tests whether the font is italic in FXG terms.- Returns:
true
if the font is italic;false
otherwise
-
-