Class FXGFontSearchAttributes


  • public class FXGFontSearchAttributes
    extends Object
    A search request for a font using FXG terms.
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object