public class FontConfiguration extends Object
Constructor and Description |
---|
FontConfiguration(ISkinParam skinParam,
FontParam fontParam,
Stereotype stereo) |
FontConfiguration(UFont font,
HtmlColor color,
HtmlColor hyperlinkColor,
boolean useUnderlineForHyperlink) |
Modifier and Type | Method and Description |
---|---|
FontConfiguration |
bigger(double delta) |
FontConfiguration |
bold() |
FontConfiguration |
changeAttributes(SvgAttributes toBeAdded) |
FontConfiguration |
changeColor(HtmlColor htmlColor) |
FontConfiguration |
changeFamily(String family) |
FontConfiguration |
changeFontPosition(FontPosition fontPosition) |
FontConfiguration |
changeSize(float size) |
boolean |
containsStyle(FontStyle style) |
FontConfiguration |
forceFont(UFont newFont,
HtmlColor htmlColorForStereotype) |
Map<String,String> |
getAttributes() |
HtmlColor |
getColor() |
HtmlColor |
getExtendedColor() |
UFont |
getFont() |
HtmlColor |
getHyperlinkColor() |
double |
getSize2D() |
int |
getSpace() |
FontConfiguration |
hyperlink() |
FontConfiguration |
italic() |
FontConfiguration |
resetFont() |
String |
toString() |
FontConfiguration |
underline() |
boolean |
useUnderlineForHyperlink() |
public FontConfiguration(UFont font, HtmlColor color, HtmlColor hyperlinkColor, boolean useUnderlineForHyperlink)
public FontConfiguration(ISkinParam skinParam, FontParam fontParam, Stereotype stereo)
public final boolean useUnderlineForHyperlink()
public final HtmlColor getHyperlinkColor()
public FontConfiguration forceFont(UFont newFont, HtmlColor htmlColorForStereotype)
public FontConfiguration changeAttributes(SvgAttributes toBeAdded)
public FontConfiguration changeColor(HtmlColor htmlColor)
public FontConfiguration changeSize(float size)
public FontConfiguration bigger(double delta)
public FontConfiguration changeFontPosition(FontPosition fontPosition)
public FontConfiguration changeFamily(String family)
public FontConfiguration resetFont()
public FontConfiguration italic()
public FontConfiguration bold()
public FontConfiguration underline()
public FontConfiguration hyperlink()
public UFont getFont()
public HtmlColor getColor()
public HtmlColor getExtendedColor()
public boolean containsStyle(FontStyle style)
public int getSpace()
public double getSize2D()
Copyright © 2015. All Rights Reserved.