![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.classdiagram.FullLayout Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.classdiagram;
import java.util.ArrayList;
import java.util.List;
import net.sourceforge.plantuml.klimt.UTranslate;
import net.sourceforge.plantuml.klimt.drawing.UGraphic;
import net.sourceforge.plantuml.klimt.shape.UDrawable;
public class FullLayout implements UDrawable {
private final List all = new ArrayList<>();
public void addRowLayout(RowLayout rawLayout) {
this.all.add(rawLayout);
}
public void drawU(UGraphic ug) {
double y = 0;
for (RowLayout rawLayout : all) {
rawLayout.drawU(ug.apply(UTranslate.dy(y)));
y += rawLayout.getHeight(ug.getStringBounder()) + 20;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy