org.apache.maven.doxia.module.rtf
Class Font
java.lang.Object
org.apache.maven.doxia.module.rtf.Font
- public class Font
- extends Object
A basic font descriptor using standard PostScript font metrics to compute
text extents. All dimensions returned are in twips.
Constructor Summary |
Font(int style,
int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Font
public Font(int style,
int size)
throws Exception
ascent
public int ascent()
descent
public int descent()
textExtents
public org.apache.maven.doxia.module.rtf.Font.TextExtents textExtents(String text)
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.