Search in sources :

Example 1 with KPoint

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;
}
Also used : KPoint(de.cau.cs.kieler.klighd.kgraph.KPoint)

Aggregations

KPoint (de.cau.cs.kieler.klighd.kgraph.KPoint)1