Class Spacing


  • public class Spacing
    extends Object
    Additional character spacing. This has a minimum, optimum and maximum. If the optimum is less than the minimum the optimum is set to the minimum. If the optimum is greater than the maximum the optimum is set to the maximum value.

    Spacing is given in absolute values, the unit is micro-points.

    Author:
    Thomas Morgner
    • Field Detail

      • EMPTY_SPACING

        public static final Spacing EMPTY_SPACING
    • Constructor Detail

      • Spacing

        public Spacing​(int minimum,
                       int optimum,
                       int maximum)
    • Method Detail

      • getMinimum

        public int getMinimum()
      • getMaximum

        public int getMaximum()
      • getOptimum

        public int getOptimum()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object