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 Details

    • FXGFontSearchAttributes

      public FXGFontSearchAttributes(String platformName, boolean isBold, boolean isItalic)
      Parameters:
      platformName -
      isBold -
      isItalic -
  • Method Details

    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object