Package com.openhtmltopdf.java2d
Class Java2DFontResolver.FontDescription
- java.lang.Object
-
- com.openhtmltopdf.java2d.Java2DFontResolver.FontDescription
-
- All Implemented Interfaces:
MinimalFontDescription
- Direct Known Subclasses:
Java2DFontResolver.FileFontDescription
,Java2DFontResolver.InputStreamFontDescription
- Enclosing class:
- Java2DFontResolver
private abstract static class Java2DFontResolver.FontDescription extends java.lang.Object implements MinimalFontDescription
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Font
_font
protected IdentValue
_style
protected int
_weight
-
Constructor Summary
Constructors Modifier Constructor Description private
FontDescription(int weight, IdentValue style)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private java.awt.Font
getBaseFont()
IdentValue
getStyle()
int
getWeight()
protected abstract boolean
realizeFont()
-
-
-
Field Detail
-
_weight
protected final int _weight
-
_style
protected final IdentValue _style
-
_font
protected java.awt.Font _font
-
-
Constructor Detail
-
FontDescription
private FontDescription(int weight, IdentValue style)
-
-
Method Detail
-
getWeight
public int getWeight()
- Specified by:
getWeight
in interfaceMinimalFontDescription
-
getStyle
public IdentValue getStyle()
- Specified by:
getStyle
in interfaceMinimalFontDescription
-
getBaseFont
private java.awt.Font getBaseFont()
-
realizeFont
protected abstract boolean realizeFont()
-
-