Package | com.yworks.graph.model |
Interface | public interface IBend extends IModelItem, IPoint, ILookup |
Implementors | DefaultBend |
IGraph
implementation
to control the layout of IEdge
s.
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 IBendList
s, 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.
Property | Defined By | ||
---|---|---|---|
owner : IEdge [read-only]
Returns the edge this bend instance belongs to. | IBend | ||
x : Number [read-only]
Gets the current x coordinate of this point. | IPoint | ||
y : Number [read-only]
Gets the current y coordinate of this point. | IPoint |