Class Axis


  • public final class Axis
    extends java.lang.Object
    A font axis descriptor. Fonts with variable axes can be adjusted along these axes to create a wide variety of styles. For example, instead of offering "regular" and "bold" versions of a font, a variable font might offer a "weight" axis that can be adjusted to any value between 100 and 900. Standard axes should be used automatically when a font with the relveant attributes is requested.
    Since:
    3.4
    Author:
    Chris Jennings
    • Field Summary

      Fields 
      Modifier and Type Field Description
      float max  
      float min  
      java.lang.String tag  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a string representation of the axis.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • tag

        public final java.lang.String tag
      • min

        public final float min
      • max

        public final float max
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string representation of the axis.
        Overrides:
        toString in class java.lang.Object