net.sourceforge.plantuml.timingdiagram.graphic.IntricatedPoint 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.timingdiagram.graphic;
import net.sourceforge.plantuml.klimt.UTranslate;
import net.sourceforge.plantuml.klimt.geom.XPoint2D;
public class IntricatedPoint {
// ::remove folder when __HAXE__
private final XPoint2D pta;
private final XPoint2D ptb;
public IntricatedPoint(XPoint2D pta, XPoint2D ptb) {
this.pta = pta;
this.ptb = ptb;
}
public final XPoint2D getPointA() {
return pta;
}
public final XPoint2D getPointB() {
return ptb;
}
public IntricatedPoint translated(UTranslate translate) {
return new IntricatedPoint(translate.getTranslated(pta), translate.getTranslated(ptb));
}
}