java.lang.Object
org.pentaho.reporting.libraries.fonts.text.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 Details

    • EMPTY_SPACING

      public static final Spacing EMPTY_SPACING
  • Constructor Details

    • Spacing

      public Spacing(int minimum, int optimum, int maximum)
  • Method Details

    • getMinimum

      public int getMinimum()
    • getMaximum

      public int getMaximum()
    • getOptimum

      public int getOptimum()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object