public class HtmlFont extends Object
Modifier and Type | Method and Description |
---|---|
String |
getEot() |
HtmlFontFamily |
getFamily() |
String |
getFontName() |
String |
getId() |
static HtmlFont |
getInstance(HtmlFontFamily family,
Locale locale,
FontFace fontFace,
boolean isBold,
boolean isItalic) |
static HtmlFont |
getInstance(JasperReportsContext jasperReportsContext,
String htmlFontId) |
static HtmlFont |
getInstance(Locale locale,
FontFace fontFace,
int style)
Deprecated.
|
static HtmlFont |
getInstance(Locale locale,
FontInfo fontInfo,
boolean isBold,
boolean isItalic)
Deprecated.
|
Locale |
getLocale() |
String |
getShortId() |
int |
getStyle()
Deprecated.
Replaced by
isBold() and isItalic() . |
String |
getSvg() |
String |
getTtf() |
String |
getWoff() |
boolean |
isBold() |
boolean |
isItalic() |
public static HtmlFont getInstance(Locale locale, FontInfo fontInfo, boolean isBold, boolean isItalic)
getInstance(HtmlFontFamily, Locale, FontFace, boolean, boolean)
.public static HtmlFont getInstance(JasperReportsContext jasperReportsContext, String htmlFontId)
public static HtmlFont getInstance(HtmlFontFamily family, Locale locale, FontFace fontFace, boolean isBold, boolean isItalic)
public static HtmlFont getInstance(Locale locale, FontFace fontFace, int style)
getInstance(HtmlFontFamily, Locale, FontFace, boolean, boolean)
.public String getId()
public String getShortId()
public HtmlFontFamily getFamily()
public Locale getLocale()
public String getFontName()
public String getTtf()
public String getEot()
public String getSvg()
public String getWoff()
public int getStyle()
isBold()
and isItalic()
.public boolean isBold()
public boolean isItalic()
Copyright © 2017. All rights reserved.