Package org.eclipse.gef.fx.nodes
Interface IConnectionInterpolator
- All Known Implementing Classes:
AbstractInterpolator,PolyBezierInterpolator,PolylineInterpolator
public interface IConnectionInterpolator
An
IConnectionInterpolator is responsible for updating the
Connection's curve node (which includes
to properly clip it at the start and end decorations), as well as for
arranging the decorations.-
Method Summary
Modifier and TypeMethodDescriptionvoidinterpolate(Connection connection) Interpolates the givenConnection, i.e updates itscurve nodeto reflect a respective geometry.
-
Method Details
-
interpolate
Interpolates the givenConnection, i.e updates itscurve nodeto reflect a respective geometry. TheIConnectionInterpolatoris also responsible of arranging the connection'sstartandenddecorations (and has to ensure the curve node is properly clipped to not render through the decorations).- Parameters:
connection- TheConnectionto interpolate.
-