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 FontContext
public boolean isFractionalMetrics()
isFractionalMetrics
in interface FontContext
public double getFontSize()
getFontSize
in interface FontContext
public boolean isEmbedded()
isEmbedded
in interface FontContext
public String getEncoding()
getEncoding
in interface FontContext
Copyright © 2019 Hitachi Vantara. All rights reserved.