mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 21:15:09 +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 ColorMapper colorMapper = new ColorMapperIdentity();
|
||||||
private Dimension2D dimension;
|
private Dimension2D dimension;
|
||||||
private final FileFormatOption fileFormatOption;
|
private final FileFormatOption fileFormatOption;
|
||||||
private boolean handwritten;
|
|
||||||
private String hoverPathColorRGB;
|
private String hoverPathColorRGB;
|
||||||
private LengthAdjust lengthAdjust = LengthAdjust.defaultValue();
|
private LengthAdjust lengthAdjust = LengthAdjust.defaultValue();
|
||||||
private UDrawable udrawable;
|
private UDrawable udrawable;
|
||||||
@ -226,7 +225,6 @@ public class ImageBuilder {
|
|||||||
annotations = true;
|
annotations = true;
|
||||||
backcolor = calculateBackColor(diagram);
|
backcolor = calculateBackColor(diagram);
|
||||||
colorMapper = skinParam.getColorMapper();
|
colorMapper = skinParam.getColorMapper();
|
||||||
handwritten = skinParam.handwritten();
|
|
||||||
hoverPathColorRGB = calculateHoverPathColor(skinParam);
|
hoverPathColorRGB = calculateHoverPathColor(skinParam);
|
||||||
lengthAdjust = skinParam.getlengthAdjust();
|
lengthAdjust = skinParam.getlengthAdjust();
|
||||||
margin = calculateMargin(diagram);
|
margin = calculateMargin(diagram);
|
||||||
@ -341,7 +339,7 @@ public class ImageBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private UGraphic handwritten(UGraphic ug) {
|
private UGraphic handwritten(UGraphic ug) {
|
||||||
if (handwritten) {
|
if (skinParam != null && skinParam.handwritten()) {
|
||||||
return new UGraphicHandwritten(ug);
|
return new UGraphicHandwritten(ug);
|
||||||
}
|
}
|
||||||
// if (OptionFlags.OMEGA_CROSSING) {
|
// if (OptionFlags.OMEGA_CROSSING) {
|
||||||
|
Loading…
Reference in New Issue
Block a user