| 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.
Implementation public function get controlPoints():IControlPoints
| bendAt | () | method |
public function bendAt(index:int):IBend
Returns the IBend at position index in this list.
index:int — The index of the bend
|
IBend |
| length | () | method |
public function length():uintReturns The number of bends in the list.
Returnsuint — The number of bends in the List.
|