Helper managing class that can be used in conjunction with CanvasControl
instances to manage the calculation of bridges for paths over obstacles.
Namespace: yWorks.Canvas.ModelAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public class BridgeManager |
| Visual Basic |
|---|
Public Class BridgeManager |
Remarks
This class will typically be used to prepare
the IRenderContext for rendering in a CanvasControl.
Setting the CanvasControl property to a non-nullNothingnullptra null reference (Nothing in Visual Basic) value
will register this class for the preparation of the context. It will make itself
available via the Lookup(Type) mechanism in the IRenderContext.
During the creation of the visuals, this instance can be queried and the
AddBridges(IRenderContext, GeneralPath, IAddBridgesCallback) method can be used to calculate bridges for a GeneralPath.
Initially IObstacleProvider instances need to be registered with
this instance via the AddObstacleProvider(IObstacleProvider) instance so that crossings
can be later determined between the path and the obstacles.
Inheritance Hierarchy
System..::..Object
yWorks.Canvas.Model..::..BridgeManager
yWorks.Canvas.Model..::..BridgeManager