public class DefaultFontContext extends Object implements FontContext
| Constructor and Description |
|---|
DefaultFontContext(double fontSize,
boolean antiAliased,
boolean fractionalMetrics,
boolean embedded,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding() |
double |
getFontSize()
The requested font size.
|
boolean |
isAntiAliased()
This is controlled by the output target and the stylesheet.
|
boolean |
isEmbedded() |
boolean |
isFractionalMetrics()
This is defined by the output target.
|
public DefaultFontContext(double fontSize,
boolean antiAliased,
boolean fractionalMetrics,
boolean embedded,
String encoding)
public boolean isAntiAliased()
isAntiAliased in interface FontContextpublic boolean isFractionalMetrics()
isFractionalMetrics in interface FontContextpublic double getFontSize()
getFontSize in interface FontContextpublic boolean isEmbedded()
isEmbedded in interface FontContextpublic String getEncoding()
getEncoding in interface FontContext