Class DefaultKerningProducer

java.lang.Object
org.pentaho.reporting.libraries.fonts.text.font.DefaultKerningProducer
All Implemented Interfaces:
java.lang.Cloneable, ClassificationProducer, KerningProducer

public class DefaultKerningProducer extends java.lang.Object implements KerningProducer
Creation-Date: 11.06.2006, 18:30:42
Author:
Thomas Morgner
  • Field Summary

    Fields inherited from interface org.pentaho.reporting.libraries.fonts.text.ClassificationProducer

    END_OF_TEXT, START_OF_TEXT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.Object
     
    long
    getKerning(int codePoint)
    Returns the kerning to the previous character (unit is micro-point).

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultKerningProducer

      public DefaultKerningProducer(FontMetrics fontMetrics)
  • Method Details

    • getKerning

      public long getKerning(int codePoint)
      Description copied from interface: KerningProducer
      Returns the kerning to the previous character (unit is micro-point).
      Specified by:
      getKerning in interface KerningProducer
      Returns:
    • clone

      public java.lang.Object clone() throws java.lang.CloneNotSupportedException
      Specified by:
      clone in interface ClassificationProducer
      Throws:
      java.lang.CloneNotSupportedException