use of de.cau.cs.kieler.klighd.kgraph.KPoint in project lingua-franca by lf-lang.
the class ReactionPortAdjustment method adjustedKPoint.
public KPoint adjustedKPoint(KPoint point, float xOffset) {
KPoint kPoint = _kGraphFactory.createKPoint();
kPoint.setX(point.getX() + xOffset);
kPoint.setY(point.getY());
return kPoint;
}
Aggregations