Enum Font.Weight

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum Font.Weight
    extends Enum<Font.Weight>
                        

    Enum representing weights available to a font in PolyUI.

    Since:

    1.0.7

    • Constructor Detail

    • Method Detail

      • valueOf

         final Font.Weight valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Parameters:
        value - the weight of the font, as specified by the Google Fonts CSS v2 API.
      • values

         final Array<Font.Weight> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.