mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-16 02:07:08 +00:00
Infer handwritten instead of storing it in ImageBuilder.
This commit is contained in:
parent
c4fe9f4349
commit
5c8b1dc46a
@ -115,7 +115,6 @@ public class ImageBuilder {
|
||||
private ColorMapper colorMapper = new ColorMapperIdentity();
|
||||
private Dimension2D dimension;
|
||||
private final FileFormatOption fileFormatOption;
|
||||
private boolean handwritten;
|
||||
private String hoverPathColorRGB;
|
||||
private LengthAdjust lengthAdjust = LengthAdjust.defaultValue();
|
||||
private UDrawable udrawable;
|
||||
@ -226,7 +225,6 @@ public class ImageBuilder {
|
||||
annotations = true;
|
||||
backcolor = calculateBackColor(diagram);
|
||||
colorMapper = skinParam.getColorMapper();
|
||||
handwritten = skinParam.handwritten();
|
||||
hoverPathColorRGB = calculateHoverPathColor(skinParam);
|
||||
lengthAdjust = skinParam.getlengthAdjust();
|
||||
margin = calculateMargin(diagram);
|
||||
@ -341,7 +339,7 @@ public class ImageBuilder {
|
||||
}
|
||||
|
||||
private UGraphic handwritten(UGraphic ug) {
|
||||
if (handwritten) {
|
||||
if (skinParam != null && skinParam.handwritten()) {
|
||||
return new UGraphicHandwritten(ug);
|
||||
}
|
||||
// if (OptionFlags.OMEGA_CROSSING) {
|
||||
|
Loading…
Reference in New Issue
Block a user