1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-17 18:55:11 +00:00

Remove unused tikzFontDistortion field

This commit is contained in:
matthew16550 2021-10-03 04:04:23 +11:00
parent 3c5769cc5f
commit 4c3b0bd989

View File

@ -60,12 +60,9 @@ import net.sourceforge.plantuml.ugraphic.color.HColor;
public class UGraphicTikz extends AbstractUGraphic<TikzGraphics> implements ClipContainer { public class UGraphicTikz extends AbstractUGraphic<TikzGraphics> implements ClipContainer {
private final TikzFontDistortion tikzFontDistortion;
private UGraphicTikz(HColor defaultBackground, ColorMapper colorMapper, TikzGraphics tikz, private UGraphicTikz(HColor defaultBackground, ColorMapper colorMapper, TikzGraphics tikz,
TikzFontDistortion tikzFontDistortion) { TikzFontDistortion tikzFontDistortion) {
super(defaultBackground, colorMapper, FileFormat.LATEX.getDefaultStringBounder(tikzFontDistortion), tikz); super(defaultBackground, colorMapper, FileFormat.LATEX.getDefaultStringBounder(tikzFontDistortion), tikz);
this.tikzFontDistortion = tikzFontDistortion;
register(); register();
} }
@ -83,7 +80,6 @@ public class UGraphicTikz extends AbstractUGraphic<TikzGraphics> implements Clip
private UGraphicTikz(UGraphicTikz other) { private UGraphicTikz(UGraphicTikz other) {
super(other); super(other);
this.tikzFontDistortion = other.tikzFontDistortion;
register(); register();
} }