Packagecom.yworks.graph.model
Interfacepublic interface IBend extends IModelItem, ILookup, IPoint
ImplementorsBendList, DefaultBend, DefaultBendCreator

The interface used in an IGraph implementation to control the layout of IEdges.

This interface provides read-only access to the properties of a bend. In order to modify the state of an instance use the various methods provided by the IGraph this instance belongs to.

Bends are stored in IBendLists, that can be obtained from the IEdge implementation that owns this bend.

This interface extends the IPoint interface. The IPoint.x and IPoint.y properties describe the location of the bend in the world coordinate system.

Like all items in an IGraph, this item supports the ILookup.lookup method that can be used to query additional aspects of the item.



Public Properties
 PropertyDefined by
  owner : IEdge
[read-only] Returns the edge this bend instance belongs to.
IBend
 Inheritedx : Number
Gets the current x coordinate of this point.
IPoint
 Inheritedy : Number
Gets the current y coordinate of this point.
IPoint
Public Methods
 MethodDefined by
 Inherited
lookup(type:Class):Object
Returns an instance that implements the given type or null.
ILookup
Property detail
ownerproperty
owner:IEdge  [read-only]

Returns the edge this bend instance belongs to.

This implies that owner.bends contains this instance.

Implementation
    public function get owner():IEdge