Class FontFamily


  • public class FontFamily
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FontFamily()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name of the font family.
      java.util.List<java.lang.String> getTraits()
      Gets the traits of the font family.
      FontFamily setName​(java.lang.String name)
      Sets the name of the font family.
      FontFamily setTraits​(java.util.List<java.lang.String> traits)
      Sets the traits of the font family.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FontFamily

        public FontFamily()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the font family.
        Returns:
        the name of the font family.
      • setName

        public FontFamily setName​(java.lang.String name)
        Sets the name of the font family.
        Parameters:
        name - the new name of the font family.
      • getTraits

        public java.util.List<java.lang.String> getTraits()
        Gets the traits of the font family.
        Returns:
        the traits of the font family.
      • setTraits

        public FontFamily setTraits​(java.util.List<java.lang.String> traits)
        Sets the traits of the font family.
        Parameters:
        traits - the new traits of the font family.