net.sourceforge.plantuml.svek.image.EntityImageGroup 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.svek.image;
import net.sourceforge.plantuml.abel.Entity;
import net.sourceforge.plantuml.klimt.drawing.UGraphic;
import net.sourceforge.plantuml.klimt.font.StringBounder;
import net.sourceforge.plantuml.klimt.geom.XDimension2D;
import net.sourceforge.plantuml.style.ISkinParam;
import net.sourceforge.plantuml.svek.AbstractEntityImage;
import net.sourceforge.plantuml.svek.ShapeType;
public class EntityImageGroup extends AbstractEntityImage {
// final private TextBlock desc;
// final private static int MARGIN = 10;
public EntityImageGroup(Entity entity, ISkinParam skinParam) {
super(entity, skinParam);
// this.desc = Display.create(StringUtils.getWithNewlines(entity.getDisplay()),
// FontConfiguration.create(
// getFont(FontParam.ACTIVITY), HtmlColorUtils.BLACK),
// HorizontalAlignment.CENTER);
}
public XDimension2D calculateDimension(StringBounder stringBounder) {
return new XDimension2D(30, 30);
}
final public void drawU(UGraphic ug) {
}
public ShapeType getShapeType() {
return ShapeType.RECTANGLE;
}
}