![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.activitydiagram3.gtile.GtileWithIncomingArrow 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.activitydiagram3.gtile;
import java.util.Collection;
import java.util.Collections;
import net.sourceforge.plantuml.klimt.UTranslate;
import net.sourceforge.plantuml.klimt.shape.TextBlockUtils;
public class GtileWithIncomingArrow extends GtileWithMargin implements Gtile {
public GtileWithIncomingArrow(AbstractGtileRoot orig, double north) {
super(orig, north, 0, 0);
if (orig instanceof GtileEmpty) {
System.err.println("Warning 1");
}
}
@Override
public Collection getInnerConnections() {
final GConnection arrow = new GConnectionVerticalDown(UTranslate.dy(0), orig.getGPoint(GPoint.NORTH_HOOK),
UTranslate.dy(north), orig.getGPoint(GPoint.NORTH_HOOK), TextBlockUtils.EMPTY_TEXT_BLOCK);
return Collections.singletonList(arrow);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy