org.pentaho.reporting.libraries.fonts.text.font
Class VariableFontSizeProducer
java.lang.Object
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
VariableFontSizeProducer
public VariableFontSizeProducer(FontMetrics fontMetrics)
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