use of org.kie.workbench.common.stunner.bpmn.definition.property.font.FontBorderColor in project kie-wb-common by kiegroup.
the class BasePropertyReader method getFontSet.
@Override
public FontSet getFontSet() {
final FontFamily fontFamily = new FontFamily();
final FontColor fontColor = new FontColor(optionalAttribute("fontcolor").orElse(colorsDefaultFont()));
final FontSize fontSize = new FontSize(optionalAttribute("fontsize").map(Double::parseDouble).orElse(null));
final FontBorderSize fontBorderSize = new FontBorderSize();
final FontBorderColor fontBorderColor = new FontBorderColor();
return new FontSet(fontFamily, fontColor, fontSize, fontBorderSize, fontBorderColor);
}
Aggregations