public interface ILinkPath
Modifier and Type | Method and Description |
---|---|
Collection<Point> |
getPoints()
Get all bend points of the connection.
|
void |
movePoint(int index,
Point point)
Change the coordinates of a specific bend points of the connection.
|
void |
removePoint(int index)
Removes the point at the specified position in this point list.
|
void |
setPoints(Collection<Point> points)
Discards all points from the point list, then add all specified points in it.
|
Collection<Point> getPoints()
void movePoint(int index, Point point)
index
- the index of the point to move in the point list.point
- the new coordinates for this point.void removePoint(int index)
index
- the index of the element to be removed.void setPoints(Collection<Point> points)
points
- the new point list for this connection.