All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.activitydiagram3.gtile.GtileWithOutgoingArrow Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// 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 GtileWithOutgoingArrow extends GtileWithMargin implements Gtile {

	public GtileWithOutgoingArrow(AbstractGtileRoot orig, double south) {
		super(orig, 0, south, 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.SOUTH_HOOK),
				UTranslate.dy(south), orig.getGPoint(GPoint.SOUTH_HOOK), TextBlockUtils.EMPTY_TEXT_BLOCK);
		return Collections.singletonList(arrow);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy