예제 #1
0
파일: Frame.java 프로젝트: rakyll/plantuml
 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;
 }
예제 #2
0
 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);
 }