mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 21:15:09 +00:00
Simplify UGraphicTikz constructors
This commit is contained in:
parent
eecb097640
commit
f1bff6dde6
@ -59,15 +59,9 @@ import net.sourceforge.plantuml.ugraphic.color.HColor;
|
||||
|
||||
public class UGraphicTikz extends AbstractUGraphic<TikzGraphics> implements ClipContainer {
|
||||
|
||||
private UGraphicTikz(HColor defaultBackground, ColorMapper colorMapper, StringBounder stringBounder, TikzGraphics tikz) {
|
||||
super(defaultBackground, colorMapper, stringBounder, tikz);
|
||||
register();
|
||||
|
||||
}
|
||||
|
||||
public UGraphicTikz(HColor defaultBackground, ColorMapper colorMapper, StringBounder stringBounder, double scale, boolean withPreamble) {
|
||||
this(defaultBackground, colorMapper, stringBounder, new TikzGraphics(scale, withPreamble));
|
||||
|
||||
super(defaultBackground, colorMapper, stringBounder, new TikzGraphics(scale, withPreamble));
|
||||
register();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user