Class FontVariationAxis


  • public class FontVariationAxis
    extends java.lang.Object
    Information about font variation axes for variable fonts
    • Constructor Summary

      Constructors 
      Constructor Description
      FontVariationAxis​(java.lang.String tag, java.lang.String name, java.lang.Number minValue, java.lang.Number maxValue, java.lang.Number defaultValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number getDefaultValue()
      The default value.
      java.lang.Number getMaxValue()
      The maximum value (inclusive) the font supports for this tag.
      java.lang.Number getMinValue()
      The minimum value (inclusive) the font supports for this tag.
      java.lang.String getName()
      Human-readable variation name in the default language (normally, "en").
      java.lang.String getTag()
      The font-variation-setting tag (a.k.a.
      • Methods inherited from class java.lang.Object

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

      • FontVariationAxis

        public FontVariationAxis​(java.lang.String tag,
                                 java.lang.String name,
                                 java.lang.Number minValue,
                                 java.lang.Number maxValue,
                                 java.lang.Number defaultValue)
    • Method Detail

      • getTag

        public java.lang.String getTag()
        The font-variation-setting tag (a.k.a. "axis tag").
      • getName

        public java.lang.String getName()
        Human-readable variation name in the default language (normally, "en").
      • getMinValue

        public java.lang.Number getMinValue()
        The minimum value (inclusive) the font supports for this tag.
      • getMaxValue

        public java.lang.Number getMaxValue()
        The maximum value (inclusive) the font supports for this tag.
      • getDefaultValue

        public java.lang.Number getDefaultValue()
        The default value.