Enumeration for use in conjunction with BridgeManager
and GetCrossingStyle(IRenderContext).
Namespace: yWorks.Canvas.ModelAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public enum CrossingStyle |
| Visual Basic |
|---|
Public Enumeration CrossingStyle |
Members
| Member name | Description | ||
|---|---|---|---|
| Gap | 0 | The style that indicates that there should be a gap left in the path. | |
| Rectangle | 1 | The style that makes the crossing look like the upper half of a rectangle being inserted into the path. | |
| RectangleScaled | 2 | The style that makes the crossing look like the upper half of a rectangle being inserted into the path, where the height has been scaled to keep the ascpet ratio for greater widths. | |
| TwoSides | 3 | The style that for each crossing inserts two sides of a triangle into the path. | |
| TwoSidesScaled | 4 | The style that for each crossing inserts two sides of a triangle into the path, where the height has been scaled to keep the ascpet ratio for greater widths. | |
| Arc | 5 | The style that for each crossing inserts two quarter circle arcs into the path, that are connected by a straight line. | |
| ArcScaled | 6 | The style that for each crossing inserts a half circle into the path. | |
| Custom | 7 | The style that will use the InsertCustomBridge(IRenderContext, GeneralPath, PointD, PointD, Double) method to insert the bridge. |