Class FontMetrics
- java.lang.Object
-
- org.apache.maven.doxia.module.rtf.FontMetrics
-
- Direct Known Subclasses:
Monospace,MonospaceBold,MonospaceBoldItalic,MonospaceItalic,SansSerif,SansSerifBold,SansSerifBoldItalic,SansSerifItalic,Serif,SerifBold,SerifBoldItalic,SerifItalic
class FontMetrics extends java.lang.ObjectFontMetrics
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classFontMetrics.CharMetrics
-
Field Summary
Fields Modifier and Type Field Description (package private) shortascent(package private) FontMetrics.CharMetricsbounds(package private) FontMetrics.CharMetrics[]charMetrics(package private) shortdescent(package private) booleanfixedPitch
-
Constructor Summary
Constructors Constructor Description FontMetrics(boolean fixedPitch, int ascent, int descent, FontMetrics.CharMetrics bounds, FontMetrics.CharMetrics[] metrics)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static FontMetricsfind(int style)
-
-
-
Field Detail
-
fixedPitch
boolean fixedPitch
-
ascent
short ascent
-
descent
short descent
-
bounds
FontMetrics.CharMetrics bounds
-
charMetrics
FontMetrics.CharMetrics[] charMetrics
-
-
Constructor Detail
-
FontMetrics
FontMetrics(boolean fixedPitch, int ascent, int descent, FontMetrics.CharMetrics bounds, FontMetrics.CharMetrics[] metrics)
-
-
Method Detail
-
find
static FontMetrics find(int style) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-