A simple mutable implementation of the IBend interface that can be used stand-alone.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public class SimpleBend : AbstractModelItem, IBend, IModelItem, ILookup, ITagOwner
Visual Basic
Public Class SimpleBend _ Inherits AbstractModelItem _ Implements IBend, IModelItem, ILookup, ITagOwner

Remarks

Note that this class is not the one used as the default implementation of a DefaultGraph's IBends and casting an IBend to this class will most likely fail. Instances of this class can be used without an accompanying graph instance. All of the properties are mutable. An example of a possible use case would be the rendering of a SimpleEdge with bends into a graphics context: Simply Instantiate two DefaultNodes, a SimpleEdge to interconnect the two nodes and add instances of this class to the edge's Bends model. Then render the edge.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Model..::..AbstractModelItem
    yWorks.yFiles.UI.Model..::..SimpleBend

See Also