Enum Direction
Specifies the orthogonal connector's connection segment direction.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum Direction
Examples
Connector connector = new Connector()
{
Type = ConnectorSegmentType.Orthogonal,
Segments = new DiagramObjectCollection<ConnectorSegment>()
{
new OrthogonalSegment()
{
Length = 70,
Type = ConnectorSegmentType.Orthogonal,
Direction = Direction.Right
},
new OrthogonalSegment()
{
Length = 20,
Type = ConnectorSegmentType.Orthogonal,
Direction = Direction.Bottom
}
}
};
Fields
| Name | Description |
|---|---|
| Bottom | Sets the direction of the connector segment to Bottom. |
| Left | Sets the direction of the connector segment to Left. |
| Right | Sets the direction of the connector segment to Right. |
| Top | Sets the direction of the connector segment to Top. |