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

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.text.font.VariableFontSizeProducer
All Implemented Interfaces:
Cloneable, ClassificationProducer, FontSizeProducer

public class VariableFontSizeProducer
extends Object
implements FontSizeProducer

Looks-up the character on the given font.

Author:
Thomas Morgner

Field Summary
 
Fields inherited from interface org.pentaho.reporting.libraries.fonts.text.ClassificationProducer
END_OF_TEXT, START_OF_TEXT
 
Constructor Summary
VariableFontSizeProducer(FontMetrics fontMetrics)
           
 
Method Summary
 Object clone()
           
 GlyphMetrics getCharacterSize(int codePoint, GlyphMetrics dimension)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableFontSizeProducer

public VariableFontSizeProducer(FontMetrics fontMetrics)
Method Detail

getCharacterSize

public GlyphMetrics getCharacterSize(int codePoint,
                                     GlyphMetrics dimension)
Specified by:
getCharacterSize in interface FontSizeProducer

clone

public Object clone()
             throws CloneNotSupportedException
Specified by:
clone in interface ClassificationProducer
Overrides:
clone in class Object
Throws:
CloneNotSupportedException