org.pentaho.reporting.libraries.fonts.text.font
Class DefaultKerningProducer

java.lang.Object
  extended by 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
DefaultKerningProducer(FontMetrics fontMetrics)
           
 
Method Summary
 java.lang.Object clone()
           
 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 Detail

DefaultKerningProducer

public DefaultKerningProducer(FontMetrics fontMetrics)
Method Detail

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
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException