| Package | com.yworks.graph.model |
| Interface | public interface IBendList extends Iterable |
| Implementors | BendList |
IBends
used in IGraph implementations.
Normally, instances of this interface are obtained through the
bends property of IEdge.
| Property | Defined By | ||
|---|---|---|---|
| controlPoints : IControlPoints [read-only]
Provides a live IControlPointList view over the bends in this list. | IBendList | ||
| Method | Defined By | ||
|---|---|---|---|
Returns the IBend at position index in this list. | IBendList | ||
![]() |
Returns an iterator over a set of elements. | Iterable | |
length():uint
Returns The number of bends in the list. | IBendList | ||
| controlPoints | property |
controlPoints:IControlPoints [read-only]
Provides a live IControlPointList view over the bends in this list.
This is especially convenient for geometric operations, that don't necessarily know how to deal with bends.
public function get controlPoints():IControlPoints| bendAt | () | method |
public function bendAt(index:int):IBend
Returns the IBend at position index in this list.
Parameters
index:int — The index of the bend
|
IBend — The bend at the given index.
|
| length | () | method |
public function length():uintReturns The number of bends in the list.
Returnsuint — The number of bends in the List.
|