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.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 18.104.22.168
public class BridgeManager
Public Class BridgeManager
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.