private TextBlock createTextBloc() { final UFont font = skinParam.getFont(FontParam.PACKAGE, null); final HtmlColor textColor = skinParam.getFontHtmlColor(FontParam.PACKAGE, null); final TextBlock bloc = TextBlockUtils.create( name, new FontConfiguration(font, textColor), HorizontalAlignement.LEFT); return bloc; }
protected final HtmlColor getFontColor(FontParam fontParam, Stereotype stereo) { final String s = stereo == null ? null : stereo.getLabel(); return skinParam.getFontHtmlColor(fontParam, s); }
private final HtmlColor getFontColor(FontParam fontParam, Stereotype stereo) { final ISkinParam skinParam = diagram.getSkinParam(); return skinParam.getFontHtmlColor(fontParam, stereo); }