documentationfor yFiles for HTML 3.0.0.3

Usages of IBend

Properties

clipboardHelperin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IClipboardHelper type for IBends this instance has been created for.
focusRendererin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IFocusRenderer<IBend> type for IBends this instance has been created for.
handlein BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IHandle type for IBends this instance has been created for.
handleProviderin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IHandleProvider type for IBends this instance has been created for.
highlightRendererin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IHighlightRenderer<IBend> type for IBends this instance has been created for.
lassoTestablein BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILassoTestable type for IBends this instance has been created for.
marqueeTestablein BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IMarqueeTestable type for IBends this instance has been created for.
mementoSupportin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IMementoSupport type for IBends this instance has been created for.
obstacleProviderin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IObstacleProvider type for IBends this instance has been created for.
positionHandlerin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for IBends this instance has been created for.
selectionRendererin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISelectionRenderer<IBend> type for IBends this instance has been created for.
snapResultProviderin BendDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IBendSnapResultProvider type for IBends this instance has been created for.
bendsin IEdgeGets a collection of bends that describe the geometry of this edge.
bendsin IGraphGets a live view of all bends contained in this IGraph.
bendsin SimpleEdgeGets or sets the collection of bends that describe the geometry of this edge.
bendGridConstraintProviderin GraphSnapContextGets or sets the grid constraint provider for the IBends.
addedBendsin OrthogonalEdgeEditingContextGets the previously registered added bends.
bendsin EdgeIndicatorBendsRenderTagThe bends for which a decoration has to be rendered.
bendsin IGraphSelectionGets an IObservableCollection<T> of the selected bends.

Method Return Values

getDecoratorFor (Constructor<TInterface>)in BendDecoratorCreates a LookupDecorator<TDecoratedType,TInterface> for IBends that can be used to decorate TInterface types of the bends.
addBend (ClipboardOperationContext, IEdge, IBend, Point, number)in ClipboardGraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
getIndependentBends ()in ClipboardOperationContextGets the bends whose owners are not copied.
asBend ()in FoldingBendStateReturns an IBend instance which represents this bend state.
addBend (IEdge, Point, number?)in Graph
addBend (IGraph, IGraph, IEdge, IBend, Point, number)in GraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
addBend (IEdge, Point, number?)in GraphWrapperBase
addBend (IEdge, Point, number?)in IGraphAdds a bend at the given index to the given edge using the coordinates provided.
createBend (IEdge, Point)in CreateBendInputModeCreates the bend.
createPreviewBend (Point)in CreateEdgeInputModeCreates a preview bend at the given location and adds it to the previewEdge that will be displayed by the input mode during the creation.
getBendsInBox (IInputModeContext, Rect)in IBendSelectionTesterReturns the bends within the given rectangle.
getBendsInPath (IInputModeContext, GeneralPath)in IBendSelectionTesterReturns the bends within the given lasso path.
getHitBend (IInputModeContext, Point)in IBendSelectionTesterReturns the bend at the given world coordinate position.

Method Parameters

addGenericLookup (function(IBend, Constructor, IContextLookup):any)in BendDecoratorAdds a generic callback as a chain link to the lookup.
BendEventArgs (IBend, IEdge, number)in BendEventArgsInitializes a new instance of the BendEventArgs class.
addBend (ClipboardOperationContext, IEdge, IBend, Point, number)in ClipboardGraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
onBendCopied (IBend, IBend)in ClipboardGraphCopierCalled after a bend has been copied.
createUndoUnitForBendAddition (IBend, number)in GraphCreates the bend addition undo unit for the given bend.
createUndoUnitForBendRemoval (IBend)in GraphCreates the bend removal undo unit for the given bend.
createUndoUnitForBendTagChange (IBend, any)in GraphCreates the undo unit for changing the tag of the given bend.
hasOwner (IBend)in GraphWhether the given bend has a valid owner.
onAddingBend (IEdge, IBend, number)in GraphCalled before a bend is added to this graph's structure.
onBendAdded (IBend)in GraphCalled after a bend has been added to this graph's structure.
onBendLocationChanged (IBend, Point)in GraphCalled after a bend location has changed.
onBendRemoved (IEdge, IBend, number)in GraphCalled just after a bend has been removed from its edge.
onBendTagChanged (IBend, any)in GraphCalled after a bend tag has changed.
onRemovingBend (IBend)in GraphCalled just before a bend is removed.
setBendLocation (IBend, Point)in GraphModifies the location of the given bend.
getTargetEdge (ClipboardOperationContext, IBend)in GraphClipboardProvides an IEdge where the given sourceBend can be added to.
addBend (IGraph, IGraph, IEdge, IBend, Point, number)in GraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
onBendCopied (IBend, IBend)in GraphCopierCalled after a bend has been copied.
onBendAdded (ItemEventArgs<IBend>)in GraphWrapperBaseRaises the bend-added event.
onBendLocationChanged (IBend, Point)in GraphWrapperBaseRaises the bend-location-changed event
onBendTagChanged (ItemChangedEventArgs<IBend,any>)in GraphWrapperBaseRaises the bend-tag-changed event.
setBendLocation (IBend, Point)in GraphWrapperBase
setBendLocation (IBend, Point)in IGraphModifies the location of the given bend.
SimpleEdge (IPort?, IPort?, )in SimpleEdgeCreates an edge with a default lookup, and, optionally, the given source and target ports.
onBendCreated (InputModeItemEventArgs<IBend>)in CreateBendInputModeTriggers the bend-created event.
dragBend (IBend)in GraphEditorInputModeInitiates the handleInputMode to drag the given bend.
onCreateBendInputModeDragSegmentFinished (InputModeItemEventArgs<IBend>, any)in GraphEditorInputModeCalled as soon as CreateBendInputMode created a new bend.
GraphSnapContext ()in GraphSnapContextCreates a new instance with default settings.
getMovementInfo (IBend)in GraphSnapContextGets the movement info for the given bend.
create ()in IBendGridConstraintProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, Point, IBend)in IBendSnapResultProviderCalled when a node is dragged to add SnapResults for OrthogonalSnapLines to which this bend can potentially snap.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, Point, IBend):void)in IBendSnapResultProvider
contains (IInputModeContext, IBend)in IContainsBendTesterDetermines whether the provided bend is deemed to lie within the shape this test is implemented for.
createImplicitlyMovedBendInfo (IBend, MovementInfo, MovementInfo)in OrthogonalEdgeEditingContextCreates or obtains a previously created MovementInfo for the provided implicitly moved bend.
registerAddedBend (IBend)in OrthogonalEdgeEditingContextCan be used by subclasses during prepareOrthogonalEdge to register added bends that can later be removed in case the operation is canceled.
removeAddedBends (IGraph, IEnumerable<IBend>)in OrthogonalEdgeEditingContextRemoves previously registered added bends.
canRemoveBend (IInputModeContext, IBend)in OrthogonalEdgeHelperReturns whether the given bend can be removed.

Extending Types

BendEventArgsA specialized subclass of the ItemEventArgs<T> class that is bound to the IBend type and carries additional owner and index information.

Implementing Types

SimpleBendA mutable implementation of the IBend interface that can be used without an IGraph.
IBendGridConstraintProviderThis is a flagging interface for instances of IGridConstraintProvider<T> that can snap coordinates of IBends to a grid.